rockeet
rockeet
2 years ago, I had created PR #7081 which failed on old MSVC. Now rocksdb has upgraded to c++17, PR #7081 will not fail in CI, we can continuously migrating...
Forward MultiGet to overload with single cf.
On multi process, when a thread forking a child process while another thread has entered mutex lock in __tz_convert, the newly forked process will deadlock when calling to localtime_r which...
1. Virtual function call to comparator is very frequent thus is a hot spot 2. In most use cases, the default `BytewiseComparator` or `ReverseBytewiseComparator` is used This PR provide the...
This PR is based on #10645. If comparator is BytewiseComparator or ReverseBytewiseComparator: 1. devirtualize comparator: specialize the impl by direct call memcmp 2. add prefix cache: narrow the search range...
### Expected behavior DB Iterator Seek should reuse SST's Iterator. ### Actual behavior DB Iterator Seek always create new SST Iterators if target key miss old SST. ### Steps to...
This PR speed up `GetApproximateSizes` by ~15%, in flame graph, `GetApproximateSizes` time percent is reduced from `7.01%` to `5.92%`. ## Flame graph before this PR:  ## Flame graph after...
1. `FindFileInRange` is defined in `version_set.cc`, `ForwardIterator` should use it to reduce code explosion 2. The only one FindFileInRange can be optimized some way * We have optimized FindFileInRange by...
`PessimisticTransaction::db_impl_` is exactly same as `TransactionBaseImpl::dbimpl_`, remove PessimisticTransaction::db_impl_ and use TransactionBaseImpl::dbimpl_