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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy