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

Commit8dc4c32

Browse files
committed
Reduce trace
1 parent35aec67 commit8dc4c32

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎contrib/mmts/multimaster.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
11771177
:ts->status==TRANSACTION_STATUS_COMMITTED ?"committed" :"not prepared",
11781178
ts->xid,ts->gid);
11791179
}
1180+
Assert(ts->xid!=10000);
11801181
if (x->csn>ts->csn||Mtm->status==MTM_RECOVERY) {
11811182
Assert(x->csn!=INVALID_CSN);
11821183
ts->csn=x->csn;

‎src/backend/replication/logical/decode.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,15 +607,15 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
607607
FilterByOrigin(ctx,origin_id))
608608
{
609609
if (SnapBuildXactNeedsSkip(ctx->snapshot_builder,buf->origptr)) {
610-
elog(LOG,"Skip transaction %d at %lx because it's origptr %lx is not in snapshot",
610+
elog(DEBUG1,"Skip transaction %d at %lx because it's origptr %lx is not in snapshot",
611611
xid,buf->endptr,buf->origptr);
612612
}
613613
if (parsed->dbId!=InvalidOid&&parsed->dbId!=ctx->slot->data.database) {
614-
elog(LOG,"Skip transaction %d at %lx because database id is not matched",
614+
elog(DEBUG1,"Skip transaction %d at %lx because database id is not matched",
615615
xid,buf->endptr);
616616
}
617617
if (FilterByOrigin(ctx,origin_id)) {
618-
elog(LOG,"Skip transaction %d at %lx is filtered by origin_id %d",
618+
elog(DEBUG1,"Skip transaction %d at %lx is filtered by origin_id %d",
619619
xid,buf->endptr,origin_id);
620620
}
621621
for (i=0;i<parsed->nsubxacts;i++)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp