pmem / kvdk

Key Value Development Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stress Test fail

ZiyanShi opened this issue · comments

Bug Report

KVDK version

809b640

System configuration

2 * Intel(R) Xeon(R) Platinum 8269C CPU @ 2.50GHz
CPU: 2 * Intel(R) Xeon(R) Platinum 8269C CPU @ 2.50GHz
DDR: 12 * DDR4 16384 MB 2666 MT/s
PMEM: 4 * 129408 MB 2666 MT/s

Reproduce steps

cd build
cmake .. -DCMAKE_BUILD_TYPE=FastDebug -DCHECK_CPP_STYLE=ON
cd ..
./build/dbstress_test --gtest_filter="*Sorted*" --gtest_break_on_failure --gtest_catch_exceptions=1 --gtest_repeat=-1

Expect behavior

Test Case success

Current behavior

assertion fail

[Testing] Execute SSet and SDelete in GlobalHashesCollection.
    264200/1048576      [############--------------------------------------]
dbstress_test: /home/shizy/kvdk_folk/kvdk/engine/skiplist.cpp:224: bool kvdk::Skiplist::FindAndLockWritePos(std::vector<kvdk::SpinMutex*>&, kvdk::Splice*, const string_view&, const kvdk::HashTable::KeyHashHint&, const kvdk::DLRecord*): Assertion `prev == header_->record || compare_string_view(Skiplist::UserKey(prev->Key()), insert_key) < 0' failed.