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 d09035b commit 34ba276Copy full SHA for 34ba276
osscluster.go
@@ -951,10 +951,9 @@ func (c *clusterState) slotNodes(slot int) []*clusterNode {
951
//------------------------------------------------------------------------------
952
953
type clusterStateHolder struct {
954
- load func(ctx context.Context) (*clusterState, error)
955
- commandsCacheRefresh func()
956
- state atomic.Value
957
- reloading uint32 // atomic
+ load func(ctx context.Context) (*clusterState, error)
+ state atomic.Value
+ reloading uint32 // atomic
958
}
959
960
func newClusterStateHolder(load func(ctx context.Context) (*clusterState, error)) *clusterStateHolder {
0 commit comments