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

Function RelationMapInvalidateAll

src/backend/utils/cache/relmapper.c:431–438  ·  view source on GitHub ↗

* RelationMapInvalidateAll * * Reload all map files. This is used to recover from SI message buffer * overflow: we can't be sure if we missed an inval message. * Again, reload only currently-valid maps. */

Source from the content-addressed store, hash-verified

429 * Again, reload only currently-valid maps.
430 */
431void
432RelationMapInvalidateAll(void)
433{
434 if (shared_map.magic == RELMAPPER_FILEMAGIC)
435 load_relmap_file(true, false);
436 if (local_map.magic == RELMAPPER_FILEMAGIC)
437 load_relmap_file(false, false);
438}
439
440/*
441 * AtCCI_RelationMap

Callers 1

RelationCacheInvalidateFunction · 0.85

Calls 1

load_relmap_fileFunction · 0.85

Tested by

no test coverage detected