You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Hale Bales (Jira)" <ji...@apache.org> on 2021/05/14 21:34:00 UTC
[jira] [Created] (GEODE-9279) Make redis deltas implement Sizeable
Hale Bales created GEODE-9279:
---------------------------------
Summary: 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
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.3.4#803005)