You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git checkout main && make build
cd examples/local
./101_initial_cluster.sh; mysql < ../common/insert_commerce_data.sql; ./201_customer_tablets.sh; ./202_move_tables.sh
for i in {1..10}; do mysql commerce -e "insert into customer (email) values ('${RANDOM}_person_${RANDOM}@planetscale.com'); insert into customer (email) select email from customer;"; done
sleep 60
vtctldclient vdiff --target-keyspace customer --workflow commerce2customer create
sleep 10
vtctldclient vdiff --target-keyspace customer --workflow commerce2customer show last
command mysql -u root --socket=${VTDATAROOT}/vt_0000000201/mysql.sock -e "select * from _vt.vdiff\G"
If you look at the vdiff output you'll see that it only processed 1005 rows and if you look at vdiff record on the target side, you'll see that the max_rows core option is set to 1,000:
vtgate version Version: 19.0.0-SNAPSHOT (Git revision 5ee1b9b735f09c54a19177c1d6dd2b08e0fad136 branch 'main') built on Wed Dec 13 15:26:40 EST 2023 by matt@pslord.local using go1.21.5 darwin/arm64
Operating System and Environment details
N/A
Log Fragments
No response
The text was updated successfully, but these errors were encountered:
Overview of the Issue
The new
vtctldclient vdiff
implementation (added in v18) incorrectly limits the maximum rows diffed per table to themax-extra-rows-to-compare
flag value (default: 1000).Reproduction Steps
If you look at the vdiff output you'll see that it only processed 1005 rows and if you look at vdiff record on the target side, you'll see that the max_rows core option is set to 1,000:
Binary Version
vtgate version Version: 19.0.0-SNAPSHOT (Git revision 5ee1b9b735f09c54a19177c1d6dd2b08e0fad136 branch 'main') built on Wed Dec 13 15:26:40 EST 2023 by matt@pslord.local using go1.21.5 darwin/arm64
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: