fix: chunk RDS batch operations within parameter limits (#10489)

* fix: chunk RDS batch operations within parameter limits

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix: deduplicate MySQL batch reads and use a regular CI database

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix: preserve consistency across RDS batch reads

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor: use sqlx begin_with for MySQL transactions

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix: use read-only snapshots for RDS batch reads

Signed-off-by: WenyXu <wenymedia@gmail.com>

---------

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-11-19 01:54:37 +00:00
committed by GitHub
parent 916acb1267
commit d21322e222
8 changed files with 1220 additions and 175 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ jobs:
mysql: false
- name: "Metasrv on MySQL"
id: "metasrv-mysql"
opts: "--setup-mysql mysql://greptimedb:admin@127.0.0.1:3306/mysql"
opts: "--setup-mysql mysql://greptimedb:admin@127.0.0.1:3306/greptime_test"
postgres: false
mysql: true
timeout-minutes: 60
+1 -1
View File
@@ -122,7 +122,7 @@ jobs:
GT_POSTGRES_ENDPOINTS: postgres://greptimedb:admin@127.0.0.1:5432/postgres
GT_POSTGRES15_ENDPOINTS: postgres://test_user:test_password@127.0.0.1:5433/postgres
GT_POSTGRES15_SCHEMA: test_schema
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/mysql
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/greptime_test
GT_KAFKA_ENDPOINTS: 127.0.0.1:9092
GT_KAFKA_SASL_ENDPOINTS: 127.0.0.1:9093
UNITTEST_LOG_DIR: "__unittest_logs"
+2 -2
View File
@@ -234,7 +234,7 @@ jobs:
GT_POSTGRES_ENDPOINTS: postgres://greptimedb:admin@127.0.0.1:5432/postgres
GT_POSTGRES15_ENDPOINTS: postgres://test_user:test_password@127.0.0.1:5433/postgres
GT_POSTGRES15_SCHEMA: test_schema
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/mysql
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/greptime_test
GT_KAFKA_ENDPOINTS: 127.0.0.1:9092
GT_KAFKA_SASL_ENDPOINTS: 127.0.0.1:9093
UNITTEST_LOG_DIR: "__unittest_logs"
@@ -292,7 +292,7 @@ jobs:
GT_POSTGRES_ENDPOINTS: postgres://greptimedb:admin@127.0.0.1:5432/postgres
GT_POSTGRES15_ENDPOINTS: postgres://test_user:test_password@127.0.0.1:5433/postgres
GT_POSTGRES15_SCHEMA: test_schema
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/mysql
GT_MYSQL_ENDPOINTS: mysql://greptimedb:admin@127.0.0.1:3306/greptime_test
GT_KAFKA_ENDPOINTS: 127.0.0.1:9092
GT_KAFKA_SASL_ENDPOINTS: 127.0.0.1:9093
UNITTEST_LOG_DIR: "__unittest_logs"