We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd526a8 commit 5b01de5Copy full SHA for 5b01de5
osscluster.go
@@ -859,10 +859,9 @@ func (c *clusterState) slotNodes(slot int) []*clusterNode {
859
//------------------------------------------------------------------------------
860
861
type clusterStateHolder struct {
862
- load func(ctx context.Context) (*clusterState, error)
863
- commandsCacheRefresh func()
864
- state atomic.Value
865
- reloading uint32 // atomic
+ load func(ctx context.Context) (*clusterState, error)
+ state atomic.Value
+ reloading uint32 // atomic
866
}
867
868
func newClusterStateHolder(load func(ctx context.Context) (*clusterState, error)) *clusterStateHolder {
0 commit comments