From f14a25a59bca81c5765eec5e2333aebb6e28eeec Mon Sep 17 00:00:00 2001 From: Shrenuj Bansal Date: Mon, 14 Nov 2022 16:54:31 -0500 Subject: [PATCH] make gen and docsgen --- documentation/en/default-lotus-config.toml | 2 +- lib/consensus/raft/raft.go | 2 +- node/config/doc_gen.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/en/default-lotus-config.toml b/documentation/en/default-lotus-config.toml index 563b8068f..8373e3ebb 100644 --- a/documentation/en/default-lotus-config.toml +++ b/documentation/en/default-lotus-config.toml @@ -203,7 +203,7 @@ [Cluster] - # config to enabled node cluster with raft consensus + # EXPERIMENTAL. config to enabled node cluster with raft consensus # # type: bool # env var: LOTUS_CLUSTER_CLUSTERMODEENABLED diff --git a/lib/consensus/raft/raft.go b/lib/consensus/raft/raft.go index b55e07957..e7bfb9f5c 100644 --- a/lib/consensus/raft/raft.go +++ b/lib/consensus/raft/raft.go @@ -4,7 +4,6 @@ import ( "context" "errors" "fmt" - "go.uber.org/multierr" "os" "path/filepath" "time" @@ -15,6 +14,7 @@ import ( p2praft "github.com/libp2p/go-libp2p-raft" host "github.com/libp2p/go-libp2p/core/host" peer "github.com/libp2p/go-libp2p/core/peer" + "go.uber.org/multierr" "go.uber.org/zap" "github.com/filecoin-project/lotus/lib/addrutil" diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index fa07bca1e..1efc70ace 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -1215,7 +1215,7 @@ Default is 20 (about once a week).`, Name: "ClusterModeEnabled", Type: "bool", - Comment: `config to enabled node cluster with raft consensus`, + Comment: `EXPERIMENTAL. config to enabled node cluster with raft consensus`, }, { Name: "HostShutdown",