CacheLib icon indicating copy to clipboard operation
CacheLib copied to clipboard

Transparent Item movements

Open vinser52 opened this issue 2 years ago • 3 comments

The new algorithm relies on the moving bit and does not require external synchronization. Data movement happens transparently for the client: if the client thread attempts to get a handle for the item being moved it will get a handle with wait context to wait till the movement is completed.

vinser52 avatar Aug 18 '23 11:08 vinser52

Hi @haowu14, @therealgymmy,

Could you please take a look at this PR?

vinser52 avatar Sep 13 '23 17:09 vinser52

@vinser52 In the middle of reviewing this. I can publish some of the comments later today.

haowu14 avatar Sep 13 '23 17:09 haowu14

@therealgymmy has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Nov 16 '23 18:11 facebook-github-bot

@haowu14 merged this pull request in facebook/CacheLib@8655d6b401f220a5438f66ed41dddd40f59489df.

facebook-github-bot avatar Feb 22 '24 23:02 facebook-github-bot