File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1253,6 +1253,7 @@ MtmVotingCompleted(MtmTransState* ts)
1253
1253
ts -> votedMask = 0 ;
1254
1254
Assert (replorigin_session_origin == InvalidRepOriginId );
1255
1255
MtmUnlock ();
1256
+ //MTM_LOG1("SetPreparedTransactionState1 %s", ts->gid);
1256
1257
SetPreparedTransactionState (ts -> gid , MULTIMASTER_PRECOMMITTED );
1257
1258
MtmLock (LW_EXCLUSIVE );
1258
1259
return false;
@@ -1463,6 +1464,7 @@ MtmPreCommitPreparedTransaction(MtmCurrentTrans* x)
1463
1464
MTM_LOG2 ("Coordinator of transaction %s sends MSG_PRECOMMIT" , ts -> gid );
1464
1465
Assert (replorigin_session_origin == InvalidRepOriginId );
1465
1466
MtmUnlock ();
1467
+ // MTM_LOG1("SetPreparedTransactionState2 %s", ts->gid);
1466
1468
SetPreparedTransactionState (ts -> gid , MULTIMASTER_PRECOMMITTED );
1467
1469
MtmLock (LW_EXCLUSIVE );
1468
1470
@@ -2063,6 +2065,7 @@ MtmPollStatusOfPreparedTransactions(bool majorMode)
2063
2065
* so we need here to wait slightly more time to allow them to detect error
2064
2066
* and set votingCompleted flag.
2065
2067
*/
2068
+ // MTM_LOG1("X_MtmPollStatusOfPreparedTransactions called");
2066
2069
MtmUnlock ();
2067
2070
MtmSleep (2 * MtmHeartbeatSendTimeout * 1000 );
2068
2071
MtmLock (LW_EXCLUSIVE );
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if [ "$1" = 'postgres' ]; then
58
58
max_wal_senders = 10
59
59
shared_preload_libraries = 'multimaster'
60
60
default_transaction_isolation = 'repeatable read'
61
- log_line_prefix = '%m: '
61
+ log_line_prefix = '%m [%p] : '
62
62
wal_writer_delay = 1ms
63
63
# log_statement = all
64
64
You can’t perform that action at this time.
0 commit comments