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

Commit dde47c0

Browse files
knizhnikkelvich
authored andcommitted
Trace started callback invocation
1 parent ef58b15 commit dde47c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

multimaster.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3082,6 +3082,7 @@ MtmReplicationStartedHook(struct PGLogicalStartedHookArgs* args)
30823082
{
30833083
MtmLock(LW_EXCLUSIVE);
30843084
MtmSenderStarted = 1;
3085+
elog(LOG, "Start %d senders and %d receivers from %d cluster status %s", Mtm->nSenders+1, Mtm->nReceivers, Mtm->nLiveNodes-1, MtmNodeStatusMnem[Mtm->status]);
30853086
if (++Mtm->nSenders == Mtm->nLiveNodes-1 && Mtm->nReceivers == Mtm->nLiveNodes-1 && Mtm->status == MTM_CONNECTED) {
30863087
MtmSwitchClusterMode(MTM_ONLINE);
30873088
}

0 commit comments

Comments
 (0)