[ https://issues.apache.org/jira/browse/GEODE-9279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-9279. ------------------------------- > Make redis deltas implement Sizeable > ------------------------------------ > > Key: GEODE-9279 > URL: https://issues.apache.org/jira/browse/GEODE-9279 > Project: Geode > Issue Type: Improvement > Components: redis > Affects Versions: 1.15.0 > Reporter: Hale Bales > Assignee: Donal Evans > Priority: Major > Fix For: 1.15.0 > > > In order for rebalances to work correctly, we must keep track of a close > estimate of the amount of data that we have. RedisString, RedisSet, and > RedisHash all inherit from RedisData, which implements Sizeable already. The > current calculations for set and hash are approximately correct, but do not > take into account the size of the delta that gets created when the data is > stored. In order to account for that additional overhead, the delta must also > implement Sizeable and keep track of its size. This will allow us to be much > more accurate in our calculations of bytes in use for Set and String, > potentially exactly accurate. -- This message was sent by Atlassian Jira (v8.20.7#820007)