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