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

Function trackingInvalidateKey

src/tracking.cpp:403–405  ·  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

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

Callers 1

signalModifiedKeyFunction · 0.85

Calls 3

trackingInvalidateKeyRawFunction · 0.85
szFromObjFunction · 0.85
sdslenFunction · 0.85

Tested by

no test coverage detected