Merge branch 'release-1.5'

This commit is contained in:
beorn7 2017-02-09 13:11:53 +01:00
commit 9d12204da5
1 changed files with 2 additions and 1 deletions

View File

@ -1513,7 +1513,8 @@ func (s *MemorySeriesStorage) writeMemorySeries(
series.chunkDescsOffset -= numDroppedFromPersistence
if series.chunkDescsOffset < 0 {
persistErr = errors.New("dropped more chunks from persistence than from memory")
series.chunkDescsOffset = -1
series.chunkDescsOffset = 0
return true
}
}
return false