Revision 331e6199df012fc7bae79a4f8905cbcac9f112e3 authored by sdong on 11 March 2020, 23:20:13 UTC, committed by Facebook GitHub Bot on 11 March 2020, 23:23:08 UTC
Summary: When users fail to open a DB with file lock failure, it is sometimes hard for users to debug. We now include the time the lock is acquired and the thread ID that acquired the lock, to help users debug problems like this. Default Env's thread ID is used. Since type of lockedFiles is changed, rename it to follow naming convention too. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6507 Test Plan: Add a unit test and improve an existing test to validate the case. Differential Revision: D20378333 fbshipit-source-id: 312fe0e9733fd1d1e9969c321b90ce523cf4708a
1 parent 37a635c
File | Mode | Size |
---|---|---|
alloc_tracker.cc | -rw-r--r-- | 2.0 KB |
hash_linklist_rep.cc | -rw-r--r-- | 28.8 KB |
hash_linklist_rep.h | -rw-r--r-- | 1.9 KB |
hash_skiplist_rep.cc | -rw-r--r-- | 10.9 KB |
hash_skiplist_rep.h | -rw-r--r-- | 1.5 KB |
inlineskiplist.h | -rw-r--r-- | 35.2 KB |
inlineskiplist_test.cc | -rw-r--r-- | 17.8 KB |
memtablerep_bench.cc | -rw-r--r-- | 23.7 KB |
skiplist.h | -rw-r--r-- | 15.7 KB |
skiplist_test.cc | -rw-r--r-- | 10.2 KB |
skiplistrep.cc | -rw-r--r-- | 8.9 KB |
stl_wrappers.h | -rw-r--r-- | 898 bytes |
vectorrep.cc | -rw-r--r-- | 8.8 KB |
write_buffer_manager.cc | -rw-r--r-- | 4.8 KB |
write_buffer_manager_test.cc | -rw-r--r-- | 5.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...