rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

DBTest::GroupCommitTest can not pass

Open happy-v587 opened this issue 1 year ago • 4 comments

I found that when running with the kMultiBatchWrite parameter, an assertion fails.

  • ut: https://github.com/tikv/rocksdb/blob/8.10.tikv/db/db_test.cc#L2983
  • option: https://github.com/tikv/rocksdb/blob/8.10.tikv/db/db_test_util.cc#L553

Expected behavior

assert ok

Actual behavior

assert fail image

Steps to reproduce the behavior

./db_test --gtest_filter=DBTest.GroupCommitTest

happy-v587 avatar Nov 11 '24 08:11 happy-v587

PTAL @v01dstar

Connor1996 avatar Nov 12 '24 06:11 Connor1996

https://github.com/tikv/rocksdb/blob/8.10.tikv/db/db_test.cc#L2983 This seems to be the line reported the panic in 8.10.tikv branch. However, in your screenshot, it shows line 2816. Is this expected?

I can't reproduce the error on my laptop. Would you please share the whole cmds you run that can trigger db_test panic? e.g. the build cmd?

v01dstar avatar Nov 12 '24 06:11 v01dstar

@v01dstar I'm sorry, my local code is not up-to-date. After I update it, the error message is as follows:

image

happy-v587 avatar Nov 12 '24 07:11 happy-v587

I can't reproduce it. Could you please share your setup? Are you running this in a container. How many cores you are running with? If you are running with only one core, I guess it is expected for it to fail.

v01dstar avatar Nov 12 '24 19:11 v01dstar