Homec4science
Diffusion YCSB 1d4b4bd357be

[core] Update the AcknowledgedCounterGenerator to use a power of two size for…

Authored by Robert J. Moore <Robert.J.Moore@allanbank.com> on Oct 8 2015, 04:02.

Description

[core] Update the AcknowledgedCounterGenerator to use a power of two size for the window so a mask can be used instead of a modulo operation. This avoids issues when there is overflow of the id integer values to negative values.

Details

Committed
Robert J. Moore <Robert.J.Moore@allanbank.com>Oct 10 2015, 07:59
Pushed
iorgulescuOct 2 2018, 18:02
Parents
R7507:354b6286932b: Merge pull request #426 from cmccoy/redis-url
Branches
Unknown
Tags
Unknown

Event Timeline

Robert J. Moore <Robert.J.Moore@allanbank.com> committed R7507:1d4b4bd357be: [core] Update the AcknowledgedCounterGenerator to use a power of two size for… (authored by Robert J. Moore <Robert.J.Moore@allanbank.com>).Oct 10 2015, 07:59