MCPcopy Create free account
hub / github.com/apache/cloudberry / InvalidateSystemCaches

Function InvalidateSystemCaches

src/backend/utils/cache/inval.c:713–717  ·  view source on GitHub ↗

* InvalidateSystemCaches * * This blows away all tuples in the system catalog caches and * all the cached relation descriptors and smgr cache entries. * Relation descriptors that have positive refcounts are then rebuilt. * * We call this when we see a shared-inval-queue overflow signal, * since that tells us we've lost some shared-inval messages and hence * don't know what needs to

Source from the content-addressed store, hash-verified

711 * don't know what needs to be invalidated.
712 */
713void
714InvalidateSystemCaches(void)
715{
716 InvalidateSystemCachesExtended(false);
717}
718
719void
720InvalidateSystemCachesExtended(bool debug_discard)

Callers 3

ParallelWorkerMainFunction · 0.85

Calls 1

Tested by

no test coverage detected