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

Function freeTrackingRadixTreeCallback

app/redis-6.2.6/src/tracking.c:410–412  ·  view source on GitHub ↗

This function is called when one or all the Redis databases are * flushed. Caching keys are not specific for each DB but are global: * currently what we do is send a special notification to clients with * tracking enabled, sending a RESP NULL, which means, "all the keys", * in order to avoid flooding clients with many invalidation messages * for all the keys they may hold. */

Source from the content-addressed store, hash-verified

408 * for all the keys they may hold.
409 */
410void freeTrackingRadixTreeCallback(void *rt) {
411 raxFree(rt);
412}
413
414void freeTrackingRadixTree(rax *rt) {
415 raxFreeWithCallback(rt,freeTrackingRadixTreeCallback);

Callers

nothing calls this directly

Calls 1

raxFreeFunction · 0.85

Tested by

no test coverage detected