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

Method trackChanges

src/db.cpp:3132–3140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3130}
3131
3132void redisDbPersistentData::trackChanges(bool fBulk, size_t sizeHint)
3133{
3134 m_fTrackingChanges.fetch_add(1, std::memory_order_relaxed);
3135 if (fBulk)
3136 m_fAllChanged.fetch_add(1, std::memory_order_acq_rel);
3137
3138 if (sizeHint > 0)
3139 dictExpand(m_dictChanged, sizeHint, false);
3140}
3141
3142void redisDbPersistentData::removeAllCachedValues()
3143{

Callers 5

rdbLoadRioFunction · 0.80
readSnapshotBulkPayloadFunction · 0.80
afterSleepFunction · 0.80
debugCommandFunction · 0.80
loadAppendOnlyFileFunction · 0.80

Calls 1

dictExpandFunction · 0.70

Tested by

no test coverage detected