Skip to content

Commit 8dc4c32

Browse files
committed
Reduce trace
1 parent 35aec67 commit 8dc4c32

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy