Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c1b374

Browse files
knizhnikkelvich
authored andcommitted
Disable pglogical trace output
1 parentacf1830 commit0c1b374

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎pglogical_apply.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@ process_remote_commit(StringInfo in)
567567
{
568568
Assert(!TransactionIdIsValid(MtmGetCurrentTransactionId()));
569569
gid=pq_getmsgstring(in);
570-
MTM_LOG1("%d: PGLOGICAL_ABORT_PREPARED commit: gid=%s",MyProcPid,gid);
570+
MTM_LOG2("%d: PGLOGICAL_ABORT_PREPARED commit: gid=%s",MyProcPid,gid);
571571
if (MtmGetGlobalTransactionStatus(gid)!=TRANSACTION_STATUS_ABORTED) {
572-
MTM_LOG1("%d: PGLOGICAL_ABORT_PREPARED commit: gid=%s #2",MyProcPid,gid);
572+
MTM_LOG2("%d: PGLOGICAL_ABORT_PREPARED commit: gid=%s #2",MyProcPid,gid);
573573
StartTransactionCommand();
574574
MtmSetCurrentTransactionGID(gid);
575575
FinishPreparedTransaction(gid, false);

‎pglogical_proto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pglogical_write_commit(StringInfo out, PGLogicalOutputData *data,
160160
}
161161
pq_sendbyte(out,'C');/* sending COMMIT */
162162

163-
MTM_LOG1("PGLOGICAL_SEND commit: event=%d, gid=%s, commit_lsn=%lx, txn->end_lsn=%lx, xlog=%lx",flags,txn->gid,commit_lsn,txn->end_lsn,GetXLogInsertRecPtr());
163+
MTM_LOG2("PGLOGICAL_SEND commit: event=%d, gid=%s, commit_lsn=%lx, txn->end_lsn=%lx, xlog=%lx",flags,txn->gid,commit_lsn,txn->end_lsn,GetXLogInsertRecPtr());
164164

165165
/* send the flags field */
166166
pq_sendbyte(out,flags);

‎tests2/test_recovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_1_node_disconnect(self):
4444
print(agg)
4545
print(" ")
4646

47-
subprocess.check_call(['blockade','join'])
47+
#subprocess.check_call(['blockade','join'])
4848

4949
print('Waiting 15s to join node')
5050
foriinrange(1000):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp