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

Commit fc59935

Browse files
committed
remove some of debug logging
1 parent ed275f9 commit fc59935

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

multimaster.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,7 @@ MtmVotingCompleted(MtmTransState* ts)
12531253
ts->votedMask = 0;
12541254
Assert(replorigin_session_origin == InvalidRepOriginId);
12551255
MtmUnlock();
1256+
//MTM_LOG1("SetPreparedTransactionState1 %s", ts->gid);
12561257
SetPreparedTransactionState(ts->gid, MULTIMASTER_PRECOMMITTED);
12571258
MtmLock(LW_EXCLUSIVE);
12581259
return false;
@@ -1463,6 +1464,7 @@ MtmPreCommitPreparedTransaction(MtmCurrentTrans* x)
14631464
MTM_LOG2("Coordinator of transaction %s sends MSG_PRECOMMIT", ts->gid);
14641465
Assert(replorigin_session_origin == InvalidRepOriginId);
14651466
MtmUnlock();
1467+
// MTM_LOG1("SetPreparedTransactionState2 %s", ts->gid);
14661468
SetPreparedTransactionState(ts->gid, MULTIMASTER_PRECOMMITTED);
14671469
MtmLock(LW_EXCLUSIVE);
14681470

@@ -2063,6 +2065,7 @@ MtmPollStatusOfPreparedTransactions(bool majorMode)
20632065
* so we need here to wait slightly more time to allow them to detect error
20642066
* and set votingCompleted flag.
20652067
*/
2068+
// MTM_LOG1("X_MtmPollStatusOfPreparedTransactions called");
20662069
MtmUnlock();
20672070
MtmSleep(2*MtmHeartbeatSendTimeout*1000);
20682071
MtmLock(LW_EXCLUSIVE);

tests2/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [ "$1" = 'postgres' ]; then
5858
max_wal_senders = 10
5959
shared_preload_libraries = 'multimaster'
6060
default_transaction_isolation = 'repeatable read'
61-
log_line_prefix = '%m: '
61+
log_line_prefix = '%m [%p]: '
6262
wal_writer_delay = 1ms
6363
# log_statement = all
6464

0 commit comments

Comments
 (0)