Output the shard's start and end timestamps on String().

pull/333/head
Todd Persen 2014-03-11 18:04:24 -04:00
parent ef92908983
commit fe10d5b1b0
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ func (self *ShardData) String() string {
local = "true"
}
return fmt.Sprintf("[ID: %d, LOCAL: %s, SERVERS: [%s]]", self.id, local, strings.Join(serversString, ","))
return fmt.Sprintf("[ID: %d, START: %d, END: %d, LOCAL: %s, SERVERS: [%s]]", self.id, self.startMicro, self.endMicro, local, strings.Join(serversString, ","))
}
func (self *ShardData) ShouldAggregateLocally(querySpec *parser.QuerySpec) bool {