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

Method FStale

src/snapshot.cpp:638–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638bool redisDbPersistentDataSnapshot::FStale() const
639{
640 return ((getMvccTstamp() - m_mvccCheckpoint) >> MVCC_MS_SHIFT) >= static_cast<uint64_t>(g_pserver->snapshot_slip);
641}
642
643void dictGCAsyncFree(dictAsyncRehashCtl *async) {
644 if (async->deGCList != nullptr && serverTL != nullptr && !serverTL->gcEpoch.isReset()) {

Callers 2

createSnapshotMethod · 0.80
beforeSleepFunction · 0.80

Calls 1

getMvccTstampFunction · 0.85

Tested by

no test coverage detected