Please sign in to comment.
Posting List Evictions
- 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...
Showing with 22 additions and 25 deletions.