ybc icon indicating copy to clipboard operation
ybc copied to clipboard

Race in dogpile handling

Open peter-mogensen opened this issue 7 years ago • 0 comments

Hi... I thought I should report that I've experienced what seem like a corner case in the handling of requests blocked by dogpile effect handling.

Due to the polling of C_DE_ITEM_SLEEP_TIME intervals it's possible that the entry being waited on to appear in the cache and get evicted again between two polls - making the blocked request wait for the full grace_ttl. This of course all depends on load and cache tuning.

peter-mogensen avatar Apr 14 '17 13:04 peter-mogensen