Make the compacts run sychronously instead of in a goroutine. Might be causing panics in the test suite
parent
27b62caa29
commit
c161c494aa
|
@ -177,9 +177,7 @@ func (self *LevelDbDatastore) DeleteRangeOfSeries(database, series string, start
|
|||
rangesToCompact = append(rangesToCompact, &levigo.Range{startKey, endKey})
|
||||
}
|
||||
for _, r := range rangesToCompact {
|
||||
go func(r *levigo.Range) {
|
||||
self.db.CompactRange(*r)
|
||||
}(r)
|
||||
self.db.CompactRange(*r)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue