speedb icon indicating copy to clipboard operation
speedb copied to clipboard

IsEmpty() checks were missing before some SwitchMemtable() invocation…

Open pranavshenoy opened this issue 1 year ago • 1 comments

Bug: https://github.com/facebook/rocksdb/issues/12179

There was one instance where the IsEmpty() check was missing:

rocksdb/db/db_impl/db_impl_write.cc

Line 1706 in 21d5a8f

status = SwitchMemtable(cfd, write_context); Having one check inside SwitchMemTable() will ensure there won't be misses in the future.

pranavshenoy avatar Jan 13 '24 17:01 pranavshenoy

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


PRANAV SHENOY seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Feb 01 '24 08:02 CLAassistant