зеркало из https://github.com/github/vitess-gh.git
86e0cf822b
* Initial Implementation of partial movetables. Implement cross-shard queries that obey shard routing rules. Refactor rss updation with routed shard and add to multi col resolution. Run vtgate and reservedconn tests for both regular and with a partially moved shard. Add ability to run tests with partial keyspaces by adding to a list in the CI generator. Implement that in test.go and cluster setup. Revert previous iteration of running partial keyspace tests in parallel. One test is failing: TestSetSystemVarAutocommitWithConnError. Add partial vtgate misc test Add partial keyspace tests to vtgate transaction Add vtgate queries partial keyspace tests Review and fix skipped tests where applicable. Refactor to allow conditional skipping of tests for partial keyspaces only so that other tests work exactly as earlier without specifying the DbName, for example Add move shards example Cache routing tables and minor refactor. Move move_shards example Signed-off-by: Rohit Nayak <rohit@planetscale.com> Add lookup index to move shards example. Comment error logs while trying to delete from missing _vt.vdiff table Signed-off-by: Rohit Nayak <rohit@planetscale.com> Remove move shards demo example Signed-off-by: Rohit Nayak <rohit@planetscale.com> Add vtgate flag to enable shard routing. Update tests to get vtparams based on partial keyspace setting, so that global routing continues to be tested as earlier without DbName being specified Signed-off-by: Rohit Nayak <rohit@planetscale.com> To create subsequent partial movetables workflows we should ignore previous partial movetables (now frozen) Signed-off-by: Rohit Nayak <rohit@planetscale.com> Remove vdiff2 deletes since they were failing unit tests etc Signed-off-by: Rohit Nayak <rohit@planetscale.com> Use vtgate flag to enable shard routing rules Signed-off-by: Rohit Nayak <rohit@planetscale.com> Fix incorrect test setup Signed-off-by: Rohit Nayak <rohit@planetscale.com> Expect modified frozen query Signed-off-by: Rohit Nayak <rohit@planetscale.com> set vtgate param --enable_shard_routing in partial movetables test Signed-off-by: Rohit Nayak <rohit@planetscale.com> Fix failing tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> Fix flags test Signed-off-by: Rohit Nayak <rohit@planetscale.com> Use VTParams helper for partial keyspace tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> Specify vtParams.DBName for partial keyspace queries Signed-off-by: Rohit Nayak <rohit@planetscale.com> Self-review. Remove bypass caching. Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Report partial SwitchTraffic results Signed-off-by: Matt Lord <mattalord@gmail.com> * Try to address most of the upstream PR review comments From: https://github.com/vitessio/vitess/pull/9987 Signed-off-by: Matt Lord <mattalord@gmail.com> * Enforce proper routing for partial migrations Signed-off-by: Matt Lord <mattalord@gmail.com> Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Minor changes after self review Signed-off-by: Matt Lord <mattalord@gmail.com> Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Account for local timezone in check for vdiff progress Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Update go version in workflows. Fix gofmt issue Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix failing CI tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Comment failing test for partial keyspaces Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix TestVtGateVtExplain by specifying dbname Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix leftover debug code Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Move partial keyspace tests to a single shard. Refactor test.go to use multiple config.json files Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Improve test skip comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * gofmt Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix failing tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Try TestFunctionInDefault for partial keyspaces. Update skip comment. Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Delete temporary log lines Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Matt Lord <mattalord@gmail.com> Co-authored-by: Matt Lord <mattalord@gmail.com> |
||
---|---|---|
.. | ||
collations | ||
endtoend | ||
fakesqldb | ||
fuzzdata | ||
ldapauthserver | ||
vault | ||
auth_server.go | ||
auth_server_clientcert.go | ||
auth_server_clientcert_test.go | ||
auth_server_none.go | ||
auth_server_static.go | ||
auth_server_static_flaky_test.go | ||
auth_server_test.go | ||
binlog_dump.go | ||
binlog_event.go | ||
binlog_event_common.go | ||
binlog_event_common_test.go | ||
binlog_event_filepos.go | ||
binlog_event_json.go | ||
binlog_event_json_test.go | ||
binlog_event_make.go | ||
binlog_event_make_test.go | ||
binlog_event_mariadb.go | ||
binlog_event_mariadb_test.go | ||
binlog_event_mysql56.go | ||
binlog_event_mysql56_test.go | ||
binlog_event_rbr.go | ||
binlog_event_rbr_test.go | ||
binlog_event_test.go | ||
charset.go | ||
client.go | ||
client_test.go | ||
conn.go | ||
conn_flaky_test.go | ||
conn_params.go | ||
conn_params_test.go | ||
constants.go | ||
constants_test.go | ||
doc.go | ||
encoding.go | ||
encoding_test.go | ||
filepos_gtid.go | ||
filepos_gtid_test.go | ||
flavor.go | ||
flavor_filepos.go | ||
flavor_filepos_test.go | ||
flavor_mariadb.go | ||
flavor_mariadb_binlog_playback.go | ||
flavor_mariadb_test.go | ||
flavor_mysql.go | ||
flavor_mysql_test.go | ||
flavor_mysqlgr.go | ||
flavor_mysqlgr_test.go | ||
flavor_test.go | ||
gtid.go | ||
gtid_set.go | ||
gtid_test.go | ||
handshake_test.go | ||
innodb_constants.go | ||
mariadb_gtid.go | ||
mariadb_gtid_test.go | ||
mysql56_gtid.go | ||
mysql56_gtid_set.go | ||
mysql56_gtid_set_test.go | ||
mysql56_gtid_test.go | ||
mysql_fuzzer.go | ||
mysql_fuzzer_test.go | ||
primary_status.go | ||
query.go | ||
query_benchmark_test.go | ||
query_test.go | ||
replication.go | ||
replication_constants.go | ||
replication_position.go | ||
replication_position_test.go | ||
replication_status.go | ||
replication_status_test.go | ||
replication_test.go | ||
schema.go | ||
server.go | ||
server_flaky_test.go | ||
sql_error.go | ||
sql_error_test.go | ||
streaming_query.go |