Skip to content

Commit 466d3a7

Browse files
committed
Comment
1 parent d18752b commit 466d3a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service/local_slaves.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (s *Service) startLocalSlaves(wg *sync.WaitGroup, config Config, bsCfg Boot
6767
slaveBsCfg.ID = p.ID
6868
slaveBsCfg.StartLocalSlaves = false
6969
if bsCfg.Mode.IsResilientSingleMode() && idx > 1 {
70+
// Since resilientsingle mode only works with 2 servers, we have to prevent a third one.
7071
slaveBsCfg.StartResilientSingle = boolRef(false)
7172
}
7273
os.MkdirAll(p.DataDir, 0755)

0 commit comments

Comments
 (0)