influxdb/storage/flux/table_internal_test.go

8 lines
116 B
Go

package storageflux
import "sync/atomic"
func (t *table) IsDone() bool {
return atomic.LoadInt32(&t.used) != 0
}