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

Function signalModifiedKey

src/db.cpp:753–756  ·  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

751/* Note that the 'c' argument may be NULL if the key was modified out of
752 * a context of a client. */
753void signalModifiedKey(client *c, redisDb *db, robj *key) {
754 touchWatchedKey(db,key);
755 trackingInvalidateKey(c,key);
756}
757
758void signalFlushedDb(int dbid, int async) {
759 int startdb, enddb;

Callers 15

genericSetKeyFunction · 0.85
delGenericCommandFunction · 0.85
renameGenericCommandFunction · 0.85
moveCommandFunction · 0.85
copyCommandFunction · 0.85
mvccrestoreCommandFunction · 0.85
restoreCommandFunction · 0.85
migrateCommandFunction · 0.85
evictFunction · 0.85
sortCommandFunction · 0.85
hsetnxCommandFunction · 0.85

Calls 2

touchWatchedKeyFunction · 0.85
trackingInvalidateKeyFunction · 0.85

Tested by

no test coverage detected