mirror of https://github.com/citusdata/citus.git
sync objects without coordinated tx
parent
daaef20d71
commit
5243c0b515
|
@ -53,6 +53,7 @@ activate_node_snapshot(PG_FUNCTION_ARGS)
|
||||||
list_make1(LocalGroupIdUpdateCommand(dummyWorkerNode->groupId));
|
list_make1(LocalGroupIdUpdateCommand(dummyWorkerNode->groupId));
|
||||||
List *dropMetadataCommandList = DropExistingMetadataCommandList();
|
List *dropMetadataCommandList = DropExistingMetadataCommandList();
|
||||||
ActivateNodeContext context;
|
ActivateNodeContext context;
|
||||||
|
context.commandList = NIL;
|
||||||
context.fetchCommands = true;
|
context.fetchCommands = true;
|
||||||
SyncDistributedObjects(context);
|
SyncDistributedObjects(context);
|
||||||
List *syncDistObjCommands = context.commandList;
|
List *syncDistObjCommands = context.commandList;
|
||||||
|
|
Loading…
Reference in New Issue