Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql-test/suite/rocksdb/t/add_index_inplace.test: fix race condition for finish_bulk_load #1252

Open
wants to merge 1 commit into
base: fb-mysql-8.0.28
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mysql-test/suite/rocksdb/t/add_index_inplace.test
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ INSERT INTO t1 VALUES (1,1);

# Disconnect connection 1, this starts the code path that will call
# rocksdb_close_connection, ending the bulk load.
# set rocksdb_bulk_load will trigger finish_bulk_load
# finish_bulk_load in rocksdb_close_connection may not finished
# before client sees connection closed
set global rocksdb_bulk_load=1;
--echo # Disconnecting on con1
disconnect con1;

Expand Down