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

Function trackingInvalidateKey

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

Wrapper (the one actually called across the core) to pass the key * as object. */

Source from the content-addressed store, hash-verified

397/* Wrapper (the one actually called across the core) to pass the key
398 * as object. */
399void trackingInvalidateKey(client *c, robj *keyobj) {
400 trackingInvalidateKeyRaw(c,keyobj->ptr,sdslen(keyobj->ptr),1);
401}
402
403/* This function is called when one or all the Redis databases are
404 * flushed. Caching keys are not specific for each DB but are global:

Callers 1

signalModifiedKeyFunction · 0.85

Calls 2

trackingInvalidateKeyRawFunction · 0.85
sdslenFunction · 0.85

Tested by

no test coverage detected