mirror of https://github.com/citusdata/citus.git
Make LookupNodeForGroup extern
parent
257406fda7
commit
eb7e45d556
|
@ -223,7 +223,6 @@ static void CachedRelationNamespaceLookup(const char *relationName, Oid relnames
|
||||||
Oid *cachedOid);
|
Oid *cachedOid);
|
||||||
static ShardPlacement * ResolveGroupShardPlacement(
|
static ShardPlacement * ResolveGroupShardPlacement(
|
||||||
GroupShardPlacement *groupShardPlacement, ShardCacheEntry *shardEntry);
|
GroupShardPlacement *groupShardPlacement, ShardCacheEntry *shardEntry);
|
||||||
static WorkerNode * LookupNodeForGroup(int32 groupId);
|
|
||||||
static Oid LookupEnumValueId(Oid typeId, char *valueName);
|
static Oid LookupEnumValueId(Oid typeId, char *valueName);
|
||||||
static void InvalidateEntireDistCache(void);
|
static void InvalidateEntireDistCache(void);
|
||||||
|
|
||||||
|
@ -596,7 +595,7 @@ LookupNodeByNodeId(uint32 nodeId)
|
||||||
* if we're reading from secondaries). If such a node does not exist it emits an
|
* if we're reading from secondaries). If such a node does not exist it emits an
|
||||||
* appropriate error message.
|
* appropriate error message.
|
||||||
*/
|
*/
|
||||||
static WorkerNode *
|
WorkerNode *
|
||||||
LookupNodeForGroup(int32 groupId)
|
LookupNodeForGroup(int32 groupId)
|
||||||
{
|
{
|
||||||
bool foundAnyNodes = false;
|
bool foundAnyNodes = false;
|
||||||
|
|
|
@ -122,6 +122,7 @@ extern void EnsureModificationsCanRun(void);
|
||||||
/* access WorkerNodeHash */
|
/* access WorkerNodeHash */
|
||||||
extern HTAB * GetWorkerNodeHash(void);
|
extern HTAB * GetWorkerNodeHash(void);
|
||||||
extern WorkerNode * LookupNodeByNodeId(uint32 nodeId);
|
extern WorkerNode * LookupNodeByNodeId(uint32 nodeId);
|
||||||
|
extern WorkerNode * LookupNodeForGroup(int32 groupId);
|
||||||
|
|
||||||
/* namespace oids */
|
/* namespace oids */
|
||||||
extern Oid CitusCatalogNamespaceId(void);
|
extern Oid CitusCatalogNamespaceId(void);
|
||||||
|
|
Loading…
Reference in New Issue