forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Commit pipeline performance (facebook#286)
* Optimize Commit pipeline performance Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Remove safe queue, iterate the wbs directly Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Refactored some code - Move atomic ops into functions - Unified replacement of PebbleWrite with MultiBatchWrite - Add a few comments Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Reset pending_wb_cnt before wakeup writers when write WAL failed Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Update db/db_impl/db_impl_write.cc Co-authored-by: Xinye Tao <xy.tao@outlook.com> Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Update db/write_thread.cc Co-authored-by: Xinye Tao <xy.tao@outlook.com> Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Refactor some code Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * Fix two bugs about write memtable Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> Co-authored-by: Xinye Tao <xy.tao@outlook.com>
- Loading branch information
1 parent
61b0e36
commit e4bfc11
Showing
23 changed files
with
437 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.