Transparent Item movements
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.
Hi @haowu14, @therealgymmy,
Could you please take a look at this PR?
@vinser52 In the middle of reviewing this. I can publish some of the comments later today.
@therealgymmy has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@haowu14 merged this pull request in facebook/CacheLib@8655d6b401f220a5438f66ed41dddd40f59489df.