Skip to content

Commit

Permalink
shard stat created vs opened
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Apr 22, 2015
1 parent 9fee13c commit b922cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ func (s *Server) applyCreateShardGroupIfNotExists(m *messaging.Message) (err err
for _, sh := range g.Shards {
sh.ID = tx.nextShardID()
sh.stats = NewStats(fmt.Sprintf("shard %d", sh.ID))
sh.stats.Inc("open")
sh.stats.Inc("create")
}

// Assign data nodes to shards via round robin.
Expand Down

0 comments on commit b922cdc

Please sign in to comment.