Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 931974d

Browse files
committed
fixup for 703df25a02be
1 parent fe80270 commit 931974d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pglogical_apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ process_remote_message(StringInfo s, MtmReceiverContext *receiver_ctx)
543543
Assert(!receiver_ctx->parallel_allowed);
544544
receiver_ctx->parallel_allowed = true;
545545
}
546+
standalone = true;
546547
break;
547548
}
548549
default:

src/pglogical_proto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ MtmReplicationStartupHook(struct PGLogicalStartupHookArgs* args)
819819
MtmStateProcessNeighborEvent(MtmReplicationNodeId, MTM_NEIGHBOR_WAL_SENDER_START_RECOVERED, false);
820820
LWLockRelease(MtmCommitBarrier);
821821

822-
XLogFlush(LogLogicalMessage("P", dest_id, strlen(dest_id), false));
822+
XLogFlush(LogLogicalMessage("P", dest_id, strlen(dest_id) + 1, false));
823823
}
824824
}
825825

0 commit comments

Comments
 (0)