Open shishir2001-yb opened 9 months ago
UPDATE: This error also occurs in global catalog mode.
This bug can be reproduced in global catalog version mode in 2.20.1.0.
This bug can also be reproduced in global catalog version mode in 2.18.5.2. So this is not a recent regression bug.
I tried with yugabyte-2.16.8.0, could not reproduce.
I did not see persistent corruption and it seems that when reading from the index and base table, the same read time somehow allowed returning the given tuple_id
but same read time applied on the base table filtered that row out.
@shishir2001-yb , Is this issue still relevant on master?
@rthallamko3, yes it is consistently reproducible in all the runs.
Per @myang2021 's comment, this can be reproduced using sample apps from https://github.com/yugabyte/yb-stress-test/releases/download/ssa_1.1.38/yb-stress-sample-apps-1.1.38.jar
./bin/yb-ctl create --timeout-yb-admin-sec 180 --rf 3
/opt/jdk-17/bin/java -jar $HOME/tmp/yb-stress-sample-apps-1.1.38.jar --workload SqlCrossDBLoadWithDDL --num_of_tables_in_db 1 --num_writes -1 --num_reads -1 --num_threads_write 3 --num_threads_read 3 --num_unique_keys 2000000000000000 --num_value_columns 30 --use_datatypes true --nodes 127.0.0.1:5433,127.0.0.2:5433,127.0.0.3:5433 --username yugabyte --batch_size 3 --num_of_non_colocated_databases 1 --num_of_colocated_databases 0 --num_of_parallel_ddls 1 --per_db_catalog_mode false >& ~/tmp/global.out
The test output is saved in the file ~/tmp/global.out.
Jira Link: DB-9775
Description
Tried on version 2.21.0.0-b496
During the execution of the Cross-DB Concurrent DDLs Sample app, sometimes connection creation fails with the below
ERROR: ybctid DocKey([], [16754]) not found in indexed table. index table id is 00004007000030008000000000000a76
UPDATE: This error also occurs in global catalog mode.
List of DDLs :
Context:
Sample app details: