Skip to content

Commit 5c9f89f

Browse files
committed
try run over farm without MtmFilterTransaction #2
1 parent 3cb45fa commit 5c9f89f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: multimaster.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3787,8 +3787,8 @@ bool MtmFilterTransaction(char* record, int size)
37873787
break;
37883788
}
37893789

3790-
// if (event != PGLOGICAL_COMMIT_PREPARED)
3791-
return false;
3790+
if (event != PGLOGICAL_COMMIT_PREPARED)
3791+
return false;
37923792

37933793
restart_lsn = origin_node == MtmReplicationNodeId ? end_lsn : origin_lsn;
37943794
if (Mtm->nodes[origin_node-1].restartLSN < restart_lsn) {

Diff for: multimaster.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define MTM_LOG4(fmt, ...) fprintf(stderr, fmt "\n", ## __VA_ARGS__)
4242
#endif
4343

44-
// #define MTM_TXFINISH 1
44+
#define MTM_TXFINISH 1
4545

4646
#ifndef MTM_TXFINISH
4747
#define TXFINISH(fmt, ...)

0 commit comments

Comments
 (0)