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.