Xinye Tao
Xinye Tao
Signed-off-by: tabokie Used for building binary, please don't close it. ### Release note ```release-note None ```
Signed-off-by: tabokie ### What is changed and how it works? Issue Number: Close #xxx What's Changed: ```commit-message ``` ### Related changes - PR to update `pingcap/docs`/`pingcap/docs-cn`: - Need to cherry-pick...
## Bug Report Refer to https://github.com/tikv/raft-engine/issues/250
Schedule a flush/compaction after enabling auto compaction. This is consistent with the documentation of `EnableAutoCompaction`. Update the documentation of `max_write_buffer_number` to indicate it does not affect flush timing. Signed-off-by: tabokie
- Added `async_fail_point` macro, it's usage is exactly the same as [`fail_point`](https://docs.rs/fail/0.5.1/fail/macro.fail_point.html), but must be placed in an asynchronous context. - `sleep` and `pause` command sent to the async fail...
[Man page](https://man7.org/linux/man-pages/man3/posix_fallocate.3.html) states that `posix_fallocate` does not set errno on failure, which means the current handling of allocation is incorrect. We encounter this issue in https://github.com/tikv/tikv/issues/10688, in which unrelated error...
### Expected behavior There're two seqno fields in `MemTableInfo`: - first_seqno: https://github.com/facebook/rocksdb/blob/50e9b3f9c7e9198257d0398bf14c8ddad70527cb/include/rocksdb/listener.h#L481-L483 - earliest_seqno: https://github.com/facebook/rocksdb/blob/50e9b3f9c7e9198257d0398bf14c8ddad70527cb/include/rocksdb/listener.h#L484-L488 ### Actual behavior In implementation, `first_seqno` is actually the smallest seqno, which is fine because...
Cherry-picking https://github.com/pingcap/kvproto/pull/1047