Content-Length: 305880 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8dc4c32547ab512fb6f973e885bf218043a0daa2

B2 Reduce trace · postgrespro/postgres_cluster@8dc4c32 · GitHub
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, origen_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, origen_id)) {
618-
elog(LOG, "Skip transaction %d at %lx is filtered by origen_id %d",
618+
elog(DEBUG1, "Skip transaction %d at %lx is filtered by origen_id %d",
619619
xid, buf->endptr, origen_id);
620620
}
621621
for (i = 0; i < parsed->nsubxacts; i++)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/8dc4c32547ab512fb6f973e885bf218043a0daa2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy