We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7417ae + 7316f58 commit f89eff4Copy full SHA for f89eff4
index/writer.go
@@ -30,6 +30,11 @@ import (
30
)
31
32
type Writer struct {
33
+ stats Stats
34
+
35
+ // state
36
+ nextSegmentID uint64
37
38
config Config
39
deletionPolicy DeletionPolicy
40
directory Directory
@@ -43,15 +48,10 @@ type Writer struct {
43
48
rootPersisted []chan error // closed when root is persisted
44
49
persistedCallbacks []func(error)
45
50
46
- // state
47
- nextSegmentID uint64
-
51
// control/track goroutines
52
closeCh chan struct{}
53
asyncTasks sync.WaitGroup
54
- stats Stats
55
closeOnce sync.Once
56
}
57
0 commit comments