Description
While the bgfetch of a non-resident/non-existent key is underway, there might be intervening mutations to the key in memory. In such a case we must not restore the metadata of the key. Using a CAS value from the time when the temporary item is first created and checking against it before restoring the metadata prevents such races.
Attachments
For Gerrit Dashboard: MB-5073 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
14830,7 | [MB-5073] Check whether temp item is clean before restoreMeta() | master | ep-engine | Status: MERGED | +2 | +1 |