Commit Graph

5113 Commits (mysqlx-plugin-impl)

Author SHA1 Message Date
Rahim Kanji 000a9794e4 Don't short-circuit in pipeline mode, fall through to backend execution
3 months ago
Rahim Kanji 5810978e4e Unify ABORT and ROLLBACK command parsing
3 months ago
René Cannaò 4d58ce473e
Merge pull request #5435 from sysown/v3.0-ci_fix0301
3 months ago
Rahim Kanji abb66cc19f Addressed AI review feeback
3 months ago
Rene Cannao 6b9918fdcc chore: refine guard structures and fix indentation
3 months ago
Rene Cannao 17225e8e23 fix: resolve syntax error in ProxySQL_Statistics.cpp and verify build stability across tiers
3 months ago
Rene Cannao 6b46b26931 chore: implement PR review feedback for release tier system
3 months ago
Rene Cannao c2f678a9de feat: implement release tiers and feature guards for v3.0, v3.1, and v4.0
3 months ago
Rahim Kanji e84433159b Merge remote-tracking branch 'v3.0' into v3.0_pgsql-pipeline-set-reset-discard-fix-5432
3 months ago
Rene Cannao ff1398ead5 fix: plumb real hostgroup_id for pgsql replication lag monitoring
3 months ago
Rene Cannao 1911b02157 feat: temporarily disable pgsql monitor replication lag group_by_host
3 months ago
René Cannaò 16f8837e0d
Merge branch 'v3.0' into v3.0-pgsql_monitor_repl_lag
3 months ago
Rene Cannao c4fc60bdb0 fix: address security and logic issues in PostgreSQL replication lag monitoring
3 months ago
Rene Cannao cf1fd5cb35 Admin: Add support for loading sqliteserver variables from config file
3 months ago
Rahim Kanji 96bc668735 Fix pipeline mode transaction state handling and SET/RESET/DISCARD support
3 months ago
Rahim Kanji aca91c3bd2 Optimize PgSQL_Protocol::generate_ok_packet to use direct buffer writes
3 months ago
Rahim Kanji 5dd27500f3 Addressed AI review feedback
3 months ago
Rahim Kanji 742ff05ecc Fix PostgreSQL transaction state management for pipeline mode
3 months ago
Rahim Kanji 4d86e6949c Add defensive null guard before reading PSarrayIN->len
3 months ago
Rahim Kanji c309facaa2 Fixed typo
3 months ago
Rahim Kanji ed8890b6a5 Added bounds checking for Describe and Close messages to prevent reads beyond packet boundaries
3 months ago
Rahim Kanji 8c9af56f38 Address AI review feedback
3 months ago
Rahim Kanji 83d16f3c22 Fix buffer handling in PostgreSQL admin session handler
3 months ago
Rahim Kanji 05b5821fbc Fix integer underflow in PostgreSQL query packet handling and null terminator checking
3 months ago
Rahim Kanji d71090864f Improve startup packet parsing
3 months ago
Rahim Kanji 03ad2c3aae Fix underallocation for undersized PostgreSQL packets
3 months ago
Javier Jaramago Fernández ff729a657e chore: disable 'pt-heartbeat' in 'PgSQL_Threads_Handler::get_variable'
3 months ago
Wazir Ahmed 5421a382ab fix: Load TSDB variables from disk during startup
3 months ago
Wazir Ahmed 1684d30725 fix: Refresh Prometheus metrics before TSDB sampling
3 months ago
René Cannaò 148dfb2af3
Merge pull request #5423 from sysown/v3.0-genai_keys
3 months ago
Rene Cannao cffd980bb9 fix: Conditionally include sys/eventfd.h only on Linux
4 months ago
Javier Jaramago Fernández a4ea3b2174 Merge branch 'v3.0' of github.com:sysown/proxysql into v3.0-pgsql_monitor_repl_lag
4 months ago
Javier Jaramago Fernández 4103d69979 feat: disable 'pt-heartbeat' support for PostgreSQL
4 months ago
Rahim Kanji 866c3593bb Set query retries for PostgreSQL extended query protocol operations
4 months ago
Rahim Kanji 27119169e4 Reset extended query frame if an unsupported message type is received
4 months ago
Rahim Kanji 7a062a3444 Add PgSQL notice handling in reset session paths
4 months ago
Rahim Kanji 1ffb4f13ac Fix PostgreSQL resync error detection
4 months ago
Wazir Ahmed daa0b2037e fix: Use consistent value representation in MCP query rules
4 months ago
Wazir Ahmed c05bc66655 fix: MCP variables overwritten due to incorrect flush logic
4 months ago
Rene Cannao f29a326ca0 Fix QueryDigestTopK heap comparator semantics
4 months ago
Rene Cannao 3e73787753 Revert "fix: Handle optimizer hints /*+ */ correctly in query tokenizers"
4 months ago
Rahim Kanji 176362c77d Addressed feedback from AI review
4 months ago
Rahim Kanji a82d653c0b Handle late COPY protocol messages after session exits fast_forward mode
4 months ago
Rene Cannao 6be9dd1bfa fix: Address AI code review feedback from PR #5410
4 months ago
Rene Cannao 178f679fad fix: Handle optimizer hints /*+ */ correctly in query tokenizers
4 months ago
Rene Cannao 70647fb426 fix: Remove unused legacy mcp-mysql_* variables
4 months ago
Rene Cannao 9b5d52308f fix: Use legacy prepare_v2 for conditional statement preparation
4 months ago
Rene Cannao de60fe2b3f fix: Use db->execute() for runtime_global_variables inserts
4 months ago
Rene Cannao 7479f2168e fix: Only prepare runtime_global_variables stmt when runtime=true
4 months ago
Rene Cannao 8b1fb84d5c fix: Populate runtime_global_variables for MCP variables
4 months ago
Rene Cannao e53d2c76f9 Address PR #5410 review findings across FFTO, sessions, TAP, and docs
4 months ago
Rene Cannao 79c0b383e8 integration: fix pre-CI issues in unified branch
4 months ago
Rene Cannao acef17a8c1 Merge branch 'v3.0-ff_inspect' into v3.0-unified-large-pr
4 months ago
Rene Cannao e2ebc0c449 Merge branch 'v4.0-mcp-stats2' into v3.0-unified-large-pr
4 months ago
Rene Cannao 54bcb5eeca Merge branch 'v3.0-5384' into v3.0-unified-large-pr
4 months ago
Rene Cannao 90462f6d5a ffto: harden MySQL/PgSQL observer state handling and align tests/docs
4 months ago
Rene Cannao 5519080ac2 mcp stats: address review findings and remove --genai CLI flag
4 months ago
Rene Cannao 5988468521 Query Processor: re-initialize parser on rewritten queries and enhance test coverage
4 months ago
René Cannaò 2b710e518f
Merge pull request #5401 from sysown/v3.0_fix-pgsql-extended-query-routing_5387
4 months ago
Rene Cannao 3ccf0982e6 AI: Fix retry logic bug and synchronize TAP tests
4 months ago
Rene Cannao 3240a3a942 Fix SIGSEGV caused by double-finalize of sqlite3_stmt
4 months ago
René Cannaò 3647678193
Merge pull request #5399 from sysown/v3.0_3596_3597
4 months ago
René Cannaò 1dbe9fde97
Merge pull request #5385 from sysown/v3.0-2233
4 months ago
Javier Jaramago Fernández ba5af979ff feat-wip: Add replication lag support for PostgreSQL monitoring
4 months ago
Rene Cannao 1c25787b88 Introduce {mysql,pgsql}-query_processor_first_comment_parsing variable (#5384)
4 months ago
Rene Cannao ca73b9eced Tokenizer: fix type mismatch for grouping limit variables
4 months ago
Rene Cannao 797d4b580c mcp stats: move show_users to in-memory auth snapshots
4 months ago
Rene Cannao 1258a1f2f2 Address PR reviews: improve performance, safety, and robustness of FFTO
4 months ago
Rene Cannao db04a54c92 Fix memory corruption and stack overflow in FFTO due to large queries
4 months ago
Rahim Kanji 194e20b3e8 Revert "Reset current_hostgroup to default when no query rule matches"
4 months ago
Rene Cannao 5d786520b0 Merge remote-tracking branch 'origin/v3.0' into merge/v3.0-into-v3.0-5243
4 months ago
Rene Cannao 5d45d17456 mcp stats: split connection metrics from debug free-pool snapshots
4 months ago
Rene Cannao e762f91cda MCP stats: add in-memory processlist filtering and PgSQL concurrency stress TAP
4 months ago
René Cannaò 9c6945fae8
Merge branch 'v3.0' into v3.0-tsdb-feature
4 months ago
Rene Cannao 9a630a949b Add extended Doxygen documentation for FFTO classes
4 months ago
Rene Cannao 40aff577a9 Complete FFTO implementation with verified metrics and robust error handling
4 months ago
Rene Cannao 70b61a86e3 MCP stats: implement in-memory show_queries Top-K path
4 months ago
René Cannaò bad7ce40c5
Merge pull request #5391 from sysown/v3.0_pgsql_advanced_logging
4 months ago
Rene Cannao c126e63a23 mcp stats: refresh stats tables under admin mutex before direct reads
4 months ago
Rene Cannao f3d4153e7d Final FFTO implementation and verification fixes
4 months ago
Rene Cannao 33fce1ca35 MCP stats: address review findings and add detailed docs
4 months ago
René Cannaò 4a6809b60f
Merge branch 'v3.0' into v3.0-tsdb-feature
4 months ago
Rene Cannao ef397f9f1d Fix TSDB variable patterns and backend monitor runtime source
4 months ago
René Cannaò 5256f3d77a
Merge pull request #5388 from sysown/v3.0_fix-pgsql-extended-query-routing_5387
4 months ago
Rene Cannao 82a28a2e62 fix(pgsql-eventslog): close remaining minor review findings in logger internals
4 months ago
Rene Cannao 3dfd6a97d9 Fix FFTO metric parity: capture and report affected_rows and rows_sent
4 months ago
Rene Cannao 17092487cf Add protocol-labeled logger counters and FLUSH LOGS race TAP
4 months ago
Rene Cannao 6db089883e fix(admin): improve PGSQL eventslog dump failure reporting and stats insert path
4 months ago
Rene Cannao 0aa3c5e153 fix(pgsql-eventslog): harden event ownership and keep newest rows in memory table
4 months ago
Rene Cannao c5191d21f8 logger: avoid log drops during rotate close/open window
4 months ago
Rene Cannao eba795d729 fix(pgsql-eventslog): make dump-to-memory sizing protocol-agnostic across admin ports
4 months ago
Rene Cannao 20d6282a60 build(clean): ignore and remove generated MySQL parser artifacts
4 months ago
Rene Cannao b4e85f1799 Expose PostgreSQL eventslog metrics in stats and Prometheus
4 months ago
Rene Cannao b100235fbd Add PGSQL eventslog dump commands and periodic disk sync scheduling
4 months ago
Rene Cannao acbd7d0df3 Implement PostgreSQL eventslog circular buffer and sink pipeline
4 months ago
Rene Cannao 2a46c239be Add PostgreSQL advanced eventslog schema and variable scaffolding
4 months ago
Rene Cannao 3ca390dacb Fix binary protocol support for prepared statements in FFTO
4 months ago
Rene Cannao 3a3be5a559 Implement Fast Forward Traffic Observer (FFTO) for MySQL and PostgreSQL
4 months ago
Rahim Kanji 1f0756b59f Correct bytes_sent tracking for extended query protocol
4 months ago
Rene Cannao eaadabbb8e logger: fix thread-context map race in buffered logging
4 months ago
Rene Cannao caf324f911 logger: harden buffered logging flush/rotation semantics
4 months ago
René Cannaò 568fe1524e
Merge pull request #5364 from mevishalr/feature/query-logging-improvements
4 months ago
René Cannaò 762afaa44f
Merge branch 'v3.0' into v4.0-mcp-stats
4 months ago
Rene Cannao 4882559239 Cleanup: Uncomment delete statsdb_disk in ProxySQL_Statistics destructor
4 months ago
Rene Cannao 700459f67b tsdb: address AI code review feedback, fix memory safety and logic bugs
4 months ago
René Cannaò 10ff1322ba
Merge pull request #5386 from sysown/v3.0-MCP_multi
4 months ago
Rene Cannao 3bb233e800 tsdb: commit missing REST API safety fixes
4 months ago
Rahim Kanji db5f1ea498 Track query count for extended query protocol executions
4 months ago
Rahim Kanji 1b3d20388e Reset current_hostgroup to default when no query rule matches
4 months ago
Rene Cannao 253d098653 security: fix SQL injection vulnerabilities in SQLite catalog queries
4 months ago
Rene Cannao 2fa1401b05 MCP query+harvest hardening: HGM-based target routing, weighted backend selection, pgsql schema fix, and TAP robustness
4 months ago
Rene Cannao b8c6b4f573 tsdb: address code review comments and improve stability
4 months ago
Rene Cannao 9685cdaa4b mcp discovery: enforce target-scoped run model and add protocol-aware static harvesting (mysql+pgsql)
4 months ago
Rene Cannao 7e54883ba5 mcp query debugging: surface rule-id context for blocks and add backend failure SQL details
4 months ago
Rene Cannao 8fbd570c79 mcp variables: stop writing runtime_global_variables during LOAD MCP VARIABLES TO RUNTIME
4 months ago
Rene Cannao f15460348c mcp query diagnostics: include runtime hostgroup status breakdown when target lacks ONLINE backend
4 months ago
Rene Cannao f4bc1943fb mcp query diagnostics: restore strict ONLINE requirement and explain target non-executable failures
4 months ago
Rene Cannao 49f811a638 mcp query: stop misclassifying reachable targets as non-executable
4 months ago
Rene Cannao 6a788e48c4 mcp: make /mcp/query self-healing when targets/backends appear after startup
4 months ago
Rene Cannao 998bd82387 MCP TAP startup: fix tool-handler initialization order, improve MCP PROFILES observability, and seed monitor users
4 months ago
Rene Cannao af0411bd46 MCP: add target-aware rules/stats tests, explain_sql rule coverage, and AI local docker TAP infra
4 months ago
René Cannaò 28b1114cd9
Merge pull request #5353 from sysown/v3.0_pgsql-prepared-statement-refcount-race-5352
4 months ago
jesmarcannao db40505d18 Fix #2233: Mirror sessions destination_hostgroup overwritten by fast routing
4 months ago
Rene Cannao 013864b36f MCP: introduce profile-based target/auth routing and unified LOAD/SAVE MCP PROFILES commands
4 months ago
Rene Cannao 5f5b7d604f tsdb: improve administrative interface and command support
4 months ago
Rene Cannao a09db8318c tsdb: fix SET command validation by adding tsdb- prefix support
4 months ago
Rene Cannao 6587bfdd40 tsdb: trigger stats refresh on SHOW TSDB STATUS
4 months ago
Rene Cannao 2d51aeff64 tsdb: correctly implement SHOW TSDB commands and variable initialization
4 months ago
Rahim Kanji b3e8955adb Fixed error handling
4 months ago
Rene Cannao 6404d7b365 tsdb: implement SHOW TSDB VARIABLES and SHOW TSDB STATUS
4 months ago
Rahim Kanji 409070faa7 Add PostgreSQL \d tablename describe table support in Admin Handler
4 months ago
Rene Cannao c73011b302 tsdb: implement REST API and basic UI dashboard
4 months ago
Rene Cannao 4e0f94a345 tsdb: fix compilation error in ProxySQL_Admin.cpp
4 months ago
Rene Cannao a236a13787 tsdb: dedicated module for TSDB variables with tsdb- prefix and optimized background tasks
4 months ago
Rene Cannao da877c378b tsdb: align admin variable lifecycle, full prometheus ingestion, docs and tap coverage
4 months ago
Rene Cannao f17e999830 Implement SQLite-based TSDB subsystem
4 months ago
René Cannaò 5de836a4c1
Merge pull request #5373 from sysown/v3.0_improve_mysql_monitoring_5256
4 months ago
René Cannaò 3b578db4bf
Merge pull request #5374 from sysown/v3.0-test0213
4 months ago
René Cannaò 83209da487
Merge pull request #5356 from sysown/v3.0-5355
4 months ago
Rene Cannao 37e72ea3f9 Fix PROXY protocol detection in MySQL_Data_Stream::read_from_net
4 months ago
Rene Cannao 11a43bf768 Fix uninitialized max_allowed_pkt in MySQL_Connection constructor
4 months ago
Rene Cannao ca4f858b29 Fix uninitialized memory read in pgsql tokenizer
4 months ago
Rene Cannao 85952373d9 Fix uninitialized mondb pointer in MySQL_Monitor_State_Data constructor
4 months ago
Rahim Kanji 8ca6323eef Merge remote-tracking branch 'Master/v3.0' into v3.0_pgsql-prepared-statement-refcount-race-5352
4 months ago
Rene Cannao 200fdecb8d Apply AI agent review fixes to PR #5374
4 months ago
Rahim Kanji 1cccfb3220 Fix connection cleanup in failure paths
4 months ago
Rene Cannao 941e6b7320 Fix filters_rwlock initialization race condition
4 months ago
Rene Cannao 3c85c593cf Add GloMTH initialization wait to all monitor and server threads
4 months ago
Rene Cannao aa53d990ed Add GloMTH initialization wait to all monitor threads
4 months ago
Rene Cannao f4cd34be5c Fix race condition in monitor_connect_thread
4 months ago