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.
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.