Open shishir2001-yb opened 6 months ago
This issue was hit on c5.4xlarge in per-db mode with just 1 parallel ddl within 24 hours.
I can reproduce this bug in global catalog version mode using my locally created cluster (centos7 release build using commit d2a0af45197c22380c65a6fa033ce6334898ef88):
./bin/yb-ctl create --timeout-yb-admin-sec 180 --rf 3
Then run the sample app:
/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
In the test output file ~/tmp/global.out
, I saw:
2024-02-22 02:08:22,920 [Thread-3] ERROR ExceptionsTracker - Unexpected Exception occurred in DB postgres_0 => Delete query DELETE FROM tb_0 WHERE k in ('fe6b243e-39da-471b-a318-de1d4a0184b8:5803'): ERROR: could not open relation with OID 20845
Updating title to reflect this is not specific to per-db mode.
Jira Link: DB-9778
Description
Description
Tried on version 2.21.0.0-b496
During the execution of the Cross-DB Concurrent DDLs Sample app, one of the delete query failed with the below error
Query:
DELETE FROM tb_0 WHERE k in ('be8ef4cb-ec72-4679-a488-5af1eb848d39:1408')
ERROR: could not open relation with OID 16449
Note: This error only occurred once in ~3 hours of run
List of DDLs :
Context:
Sample app details: