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

Function setMvccTstamp

src/object.cpp:1724–1730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1722}
1723
1724void setMvccTstamp(robj *o, uint64_t mvcc)
1725{
1726 if (!g_pserver->fActiveReplica)
1727 return;
1728 redisObjectExtended *oe = reinterpret_cast<redisObjectExtended*>(o) - 1;
1729 oe->mvcc_tstamp = mvcc;
1730}

Callers 10

lookupKeyFunction · 0.85
dbAddCoreFunction · 0.85
dbOverwriteCoreMethod · 0.85
mvccrestoreCommandFunction · 0.85
restoreCommandFunction · 0.85
rdbLoadObjectFunction · 0.85
createObjectFunction · 0.85
deserializeStoredObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected