Skip to content

Commit b964f8f

Browse files
committed
notify user whether additional votes are necessary for cluster QCs
1 parent 99533bf commit b964f8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/bootstrap/cmd/clustering.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ func clusterAssignment(cmd *cobra.Command, args []string) {
145145
model.FilterByRole(internalNodes, flow.RoleCollection),
146146
)
147147
log.Info().Msg("")
148+
149+
if checkClusterConstraint(clusters, partnerNodes, internalNodes) {
150+
log.Info().Msg("Enough votes for collection clusters are present - bootstrapping can continue with root block creation")
151+
} else {
152+
log.Info().Msg("Not enough internal votes to generate cluster QCs, need partner votes before root block creation")
153+
}
148154
}
149155

150156
// constructClusterRootVotes generates and writes vote files for internal collector nodes with private keys available.

0 commit comments

Comments
 (0)