MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeSlotsToKeysMapAsync

Function freeSlotsToKeysMapAsync

src/lazyfree.cpp:230–233  ·  view source on GitHub ↗

Release the radix tree mapping Redis Cluster keys to slots asynchronously. */

Source from the content-addressed store, hash-verified

228
229/* Release the radix tree mapping Redis Cluster keys to slots asynchronously. */
230void freeSlotsToKeysMapAsync(rax *rt) {
231 atomicIncr(lazyfree_objects,rt->numele);
232 bioCreateLazyFreeJob(lazyfreeFreeSlotsMap,1,rt);
233}
234
235/* Free an object, if the object is huge enough, free it in async way. */
236void freeTrackingRadixTreeAsync(rax *tracking) {

Callers 1

freeSlotsToKeysMapFunction · 0.85

Calls 1

bioCreateLazyFreeJobFunction · 0.85

Tested by

no test coverage detected