yugabyte-db
yugabyte-db copied to clipboard
[DocDB] TabletSplitITest/TabletSplitITestWithIsolationLevel.SplitSingleTablet/READ_COMMITTED
Jira Link: [DB-452](https://yugabyte.atlassian.net/browse/DB-452)
Description
Need to fix.
Source: https://detective.dev.yugabyte.com/stability?num_commits=50&sort=commit&threshold=10
https://detective.dev.yugabyte.com/stability/test?branch=master&build_type=all&class=TabletSplitITest%2FTabletSplitITestWithIsolationLevel&fail_tag=all&name=SplitSingleTablet%2FREAD_COMMITTED&platform=all
Doesn't seem to be an issue since 10/6.
There's a similar failure for the following tests TabletSplitITest/TabletSplitITestWithIsolationLevel.SplitSingleTablet/SERIALIZABLE_ISOLATION TabletSplitITest/TabletSplitITestWithIsolationLevel.SplitSingleTablet/READ_COMMITTED TabletSplitITest/TabletSplitITestWithIsolationLevel.SplitSingleTablet/SNAPSHOT_ISOLATION
Log: https://jenkins.dev.yugabyte.com/job/github-yugabyte-db-centos-master-clang15-tsan/562/artifact/build/tsan-clang15-dynamic-ninja/yb-test-logs/tests-integration-tests__tablet-split-itest/TabletSplitITest__TabletSplitITestWithIsolationLevel_SplitSingleTablet__SERIALIZABLE_ISOLATION.log
../../src/yb/integration-tests/tablet-split-itest.cc:203
Failed
Bad status: Internal error (yb/integration-tests/tablet-split-itest-base.cc:821): Missing key: 501 in 2 replicas
This is a test-only issue and happening because cluster shutdown is happening faster then last bunch of WRITE ops got replicated, and after restart the test checks replicas data immediately without waiting for WRITE ops replication is completed.