Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 319a5f0

Browse files
committed
Don't initialize raftable if use_raftable is false.
1 parent 89a11b7 commit 319a5f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/mmts/multimaster.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,8 @@ _PG_init(void)
22622262

22632263
BgwPoolStart(MtmWorkers, MtmPoolConstructor);
22642264

2265-
MtmRaftableInitialize();
2265+
if (MtmUseRaftable)
2266+
MtmRaftableInitialize();
22662267
MtmArbiterInitialize();
22672268

22682269
/*

0 commit comments

Comments
 (0)