You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Maximal size (Mb) of transaction after which transaction is written to the disk",
2865
+
"Maximal size of transaction after which transaction is written to the disk",
2864
2866
NULL,
2865
2867
&MtmTransSpillThreshold,
2866
-
100, /* 100Mb */
2867
-
0,
2868
-
MaxAllocSize/MB,
2869
-
PGC_BACKEND,
2868
+
100*1024, /* 100Mb */
2870
2869
0,
2870
+
MaxAllocSize/GUC_UNIT_KB,
2871
+
PGC_SIGHUP,
2872
+
GUC_UNIT_KB,
2871
2873
NULL,
2872
2874
NULL,
2873
2875
NULL
@@ -2894,11 +2896,11 @@ _PG_init(void)
2894
2896
"When wal-sender almost catch-up WAL current position we need to stop 'Achilles tortile competition' and "
2895
2897
"temporary stop commit of new transactions until node will be completely repared",
2896
2898
&MtmMinRecoveryLag,
2897
-
100000,
2898
-
1,
2899
-
INT_MAX,
2900
-
PGC_BACKEND,
2899
+
10*1024, /* 10 MB */
2901
2900
0,
2901
+
INT_MAX,
2902
+
PGC_SIGHUP,
2903
+
GUC_UNIT_KB,
2902
2904
NULL,
2903
2905
NULL,
2904
2906
NULL
@@ -2910,11 +2912,11 @@ _PG_init(void)
2910
2912
"Dropping slot makes it not possible to recover node using logical replication mechanism, it will be ncessary to completely copy content of some other nodes "
2911
2913
"using basebackup or similar tool. Zero value of parameter disable dropping slot.",
MTM_ELOG(ERROR, "Transaction %s (%llu) is aborted on node %d. Check its log to see error details.", x->gid, (long64)x->xid, ts->abortedByNode);
4597
4601
} else {
4602
+
TXFINISH("%s COMMIT, MtmTwoPhase", x->gid);
4598
4603
FinishPreparedTransaction(x->gid, true);
4599
4604
MTM_TXTRACE(x, "MtmTwoPhaseCommit Committed");
4600
4605
MTM_LOG2("Distributed transaction %s (%lld) is committed at %lld with LSN=%lld", x->gid, (long64)x->xid, MtmGetCurrentTime(), (long64)GetXLogInsertRecPtr());
0 commit comments