MCPcopy Create free account
hub / github.com/documentdb/documentdb / EnsureMetadataTableReplicated

Function EnsureMetadataTableReplicated

pg_documentdb/src/api_hooks.c:465–475  ·  view source on GitHub ↗

* Ensure that the given metadata table is replicated on all nodes * as applicable. * Returns true if something changed and was replicated. */

Source from the content-addressed store, hash-verified

463 * Returns true if something changed and was replicated.
464 */
465bool
466EnsureMetadataTableReplicated(const char *tableName)
467{
468 if (ensure_metadata_table_replicated_hook != NULL)
469 {
470 return ensure_metadata_table_replicated_hook(tableName);
471 }
472
473 /* Single node default - it's always replicated */
474 return false;
475}
476
477
478/*

Callers 4

SetupClusterFunction · 0.85
ShardCollectionCoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected