]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Summary: (#1313)
authorsomnathr <somnath.roy@sandisk.com>
Mon, 12 Sep 2016 23:53:42 +0000 (16:53 -0700)
committerAndrew Kryczka <ajkr@users.noreply.github.com>
Mon, 12 Sep 2016 23:53:42 +0000 (16:53 -0700)
commit9e4aa798c3d47c6be64324bd9d38f0813c8ead7b
tree1f81ebdad2be0413d8f4d2535c6aa44f8e981e87
parenta10e8a056d569acf6a52045124e6414ad33bdfcd
Summary: (#1313)

If log recycling is enabled with the rocksdb (recycle_log_file_num=16)
 db->Writebatch is erroring out with keynotfound after ~5-6 hours of run
 (1M seq but can happen to any workload I guess).See my detailed bug
 report here (https://github.com/facebook/rocksdb/issues/1303).
 This commit is the fix for this, a check is been added not to delete
 the log file if it is already there in the recycle list.

Test Plan:
 Unit tested it and ran the similar profile. Not reproducing anymore.
db/db_impl.cc