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

Commit b3225a3

Browse files
kvapkelvich
authored andcommitted
Don't initialize raftable if use_raftable is false.
1 parent d1e549f commit b3225a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

multimaster.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,8 @@ _PG_init(void)
22712271

22722272
BgwPoolStart(MtmWorkers, MtmPoolConstructor);
22732273

2274-
MtmRaftableInitialize();
2274+
if (MtmUseRaftable)
2275+
MtmRaftableInitialize();
22752276
MtmArbiterInitialize();
22762277

22772278
/*

0 commit comments

Comments
 (0)