-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Avoid acquiring a read lock on posting.List during LRU cache eviction, by using atomics pendingTxns field, which gets incremented for every mutation, and potentially reset to 0 after a commit. - Only run evictions for 10ms out of a second. - Remove done field from LRU cache. We don't need to block on it during server shutdown anymore. Previously, we did because the PLs were being written to disk during evictions, but that's no longer the case.
- Loading branch information
1 parent
b5ac4d7
commit e2bcfda
Showing
4 changed files
with
22 additions
and
25 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