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

Function RelationMapInitializePhase3

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

* RelationMapInitializePhase3 * * This is called as soon as we have determined MyDatabaseId and set up * DatabasePath. At this point we should be able to read the local map file. */

Source from the content-addressed store, hash-verified

629 * DatabasePath. At this point we should be able to read the local map file.
630 */
631void
632RelationMapInitializePhase3(void)
633{
634 /*
635 * In bootstrap mode, the map file isn't there yet, so do nothing.
636 */
637 if (IsBootstrapProcessingMode())
638 return;
639
640 /*
641 * Load the local map file, die on error.
642 */
643 load_relmap_file(false, false);
644}
645
646/*
647 * EstimateRelationMapSpace

Callers 1

Calls 1

load_relmap_fileFunction · 0.85

Tested by

no test coverage detected