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

Function signalModifiedKey

app/redis-6.2.6/src/db.c:578–581  ·  view source on GitHub ↗

Note that the 'c' argument may be NULL if the key was modified out of * a context of a client. */

Source from the content-addressed store, hash-verified

576/* Note that the 'c' argument may be NULL if the key was modified out of
577 * a context of a client. */
578void signalModifiedKey(client *c, redisDb *db, robj *key) {
579 touchWatchedKey(db,key);
580 trackingInvalidateKey(c,key);
581}
582
583void signalFlushedDb(int dbid, int async) {
584 int startdb, enddb;

Callers 15

expireGenericCommandFunction · 0.85
persistCommandFunction · 0.85
hsetnxCommandFunction · 0.85
hsetCommandFunction · 0.85
hincrbyCommandFunction · 0.85
hincrbyfloatCommandFunction · 0.85
hdelCommandFunction · 0.85
georadiusGenericFunction · 0.85
getexCommandFunction · 0.85
getdelCommandFunction · 0.85
setrangeCommandFunction · 0.85
incrDecrCommandFunction · 0.85

Calls 2

touchWatchedKeyFunction · 0.85
trackingInvalidateKeyFunction · 0.85

Tested by

no test coverage detected