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

Function lookupKeyRead

src/db.cpp:205–208  ·  view source on GitHub ↗

Like lookupKeyReadWithFlags(), but does not use any flag, which is the * common case. */

Source from the content-addressed store, hash-verified

203/* Like lookupKeyReadWithFlags(), but does not use any flag, which is the
204 * common case. */
205robj_roptr lookupKeyRead(redisDb *db, robj *key) {
206 serverAssert(GlobalLocksAcquired());
207 return lookupKeyReadWithFlags(db,key,LOOKUP_NONE);
208}
209robj_roptr lookupKeyRead(redisDb *db, robj *key, uint64_t mvccCheckpoint, AeLocker &locker) {
210 robj_roptr o;
211

Callers 15

lookupKeyReadOrReplyFunction · 0.85
mexistsCommandFunction · 0.85
dumpCommandFunction · 0.85
migrateCommandFunction · 0.85
getNodeByQueryFunction · 0.85
lookupKeyByPatternFunction · 0.85
sortCommandFunction · 0.85
hmgetCommandFunction · 0.85
processJobMethod · 0.85
georadiusGenericFunction · 0.85
geohashCommandFunction · 0.85
geoposCommandFunction · 0.85

Calls 12

GlobalLocksAcquiredFunction · 0.85
lookupKeyReadWithFlagsFunction · 0.85
aeThreadOwnsLockFunction · 0.85
keyIsExpiredFunction · 0.85
szFromObjFunction · 0.85
mvccCheckpointMethod · 0.80
armMethod · 0.80
endSnapshotMethod · 0.80
disarmMethod · 0.80
createSnapshotMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected