MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lazyfreeFreeSlotsMap

Function lazyfreeFreeSlotsMap

app/redis-6.2.6/src/lazyfree.c:34–40  ·  view source on GitHub ↗

Release the skiplist mapping Redis Cluster keys to slots in the * lazyfree thread. */

Source from the content-addressed store, hash-verified

32/* Release the skiplist mapping Redis Cluster keys to slots in the
33 * lazyfree thread. */
34void lazyfreeFreeSlotsMap(void *args[]) {
35 rax *rt = args[0];
36 size_t len = rt->numele;
37 raxFree(rt);
38 atomicDecr(lazyfree_objects,len);
39 atomicIncr(lazyfreed_objects,len);
40}
41
42/* Release the key tracking table. */
43void lazyFreeTrackingTable(void *args[]) {

Callers

nothing calls this directly

Calls 1

raxFreeFunction · 0.85

Tested by

no test coverage detected