ringles opened a new pull request #5978:
URL: https://github.com/apache/geode/pull/5978


   The Redis subsystem uses Deltas heavily, but by default deltas do not 
trigger an update to the size of their buckets. This leads to incorrect memory 
usage accounting over the long term, especially with the use of Redis commands 
like "APPEND". (See GEODE-8859.)
   
   It is possible to set the system property "DELTAS_RECALCULATE_SIZE", but 
this is a global value that would affect the processing of all deltas, 
including non-Redis operations.
   
   Instead, this update adds a new default method to the Delta interface, that 
can be overridden by individual Delta implementations (such as Redis). This 
triggers the same behavior as DELTAS_RECALCULATE_SIZE, but on a per-delta 
basis. Thus, other Geode operations will not force bucket size recalculations 
unless the global property is set, but Redis statistics will be correct (once 
they are updated to override this new method).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to