chitchat icon indicating copy to clipboard operation
chitchat copied to clipboard

Make public `NodeState` struct

Open fmassot opened this issue 3 years ago • 0 comments

This is motivated by this PR: https://github.com/quickwit-oss/quickwit/pull/1838

In Quickwit, we need to build members from pairs of (key, value) stored in NodeState. Being able to define a build_from_node_state method on Member struct would be nice.

This is also consistent with the fact that the ClusterStateSnapshot struct is public.

fmassot avatar Aug 08 '22 16:08 fmassot