From 84c7e3c715aebff3773b807b75ec910568ae8fb9 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Sun, 30 Jul 2023 15:56:18 +0800 Subject: [PATCH] save --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 0be6676..7322eab 100644 --- a/main.go +++ b/main.go @@ -103,6 +103,7 @@ func StartNode(replicaID uint64, exampleShardID uint64, addr string) *dragonboat if err != nil { panic(err) } + if err := nh.StartReplica(initialMembers, false, NewSMQueue, rc); err != nil { fmt.Fprintf(os.Stderr, "failed to add cluster, %v\n", err) os.Exit(1)