Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix size-based eviction when cluster scaled down
Modification: Main changes are in replication operation. In this operation, before putting entries into record- store, we first calculate ownedEntryCountOnThisNode. If this value is below the per-node max-size, we put entries till we reach the max-size. After reaching it, we quit putting entries. This is an approximation approach. Based on my tests it is working and keeps per-node map-size around expected value.
- Loading branch information
1 parent
65cd1ef
commit 2c5c8db
Showing
2 changed files
with
113 additions
and
28 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