ensure correctly aligned for 32-bit architecture

pull/9164/head
Stuart Carnie 2017-11-28 10:52:15 -07:00
parent 455013a486
commit 638caf3b58
1 changed files with 6 additions and 6 deletions

View File

@ -1201,6 +1201,11 @@ func (a measurements) Union(other measurements) measurements {
// series belong to a Measurement and represent unique time series in a database.
type series struct {
// lastModified tracks the last time the series was created. If the series
// already exists and a request to create is received (a no-op), lastModified
// is increased to track that it is still in use.
lastModified int64
// immutable
ID uint64
Measurement *measurement
@ -1210,12 +1215,7 @@ type series struct {
mu sync.RWMutex
shardIDs map[uint64]struct{} // shards that have this series defined
// lastModified tracks the last time the series was created. If the series
// already exists and a request to create is received (a no-op), lastModified
// is increased to track that it is still in use.
lastModified int64
deleted bool
deleted bool
}
// newSeries returns an initialized series struct