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

Function IsMetadataCoordinator

pg_documentdb/src/api_hooks.c:97–106  ·  view source on GitHub ↗

* Single node scenario is always a metadata coordinator */

Source from the content-addressed store, hash-verified

95 * Single node scenario is always a metadata coordinator
96 */
97bool
98IsMetadataCoordinator(void)
99{
100 if (is_metadata_coordinator_hook != NULL)
101 {
102 return is_metadata_coordinator_hook();
103 }
104
105 return true;
106}
107
108
109/*

Callers 15

ExecutePerNodeCommandFunction · 0.85
command_drop_collectionFunction · 0.85
create_roleFunction · 0.85
drop_roleFunction · 0.85
roles_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected