remove OpenIterators
This commit is contained in:
parent
c2624ba8fa
commit
1822fc4064
2 changed files with 0 additions and 3 deletions
2
db/db.go
2
db/db.go
|
@ -59,7 +59,6 @@ type ReadOnlyDBColumnFamily struct {
|
||||||
BlockedChannels map[string][]byte
|
BlockedChannels map[string][]byte
|
||||||
FilteredStreams map[string][]byte
|
FilteredStreams map[string][]byte
|
||||||
FilteredChannels map[string][]byte
|
FilteredChannels map[string][]byte
|
||||||
OpenIterators map[string][]chan struct{}
|
|
||||||
Grp *stop.Group
|
Grp *stop.Group
|
||||||
ShutdownChan chan struct{}
|
ShutdownChan chan struct{}
|
||||||
DoneChan chan struct{}
|
DoneChan chan struct{}
|
||||||
|
@ -602,7 +601,6 @@ func GetDBColumnFamilies(name string, secondayPath string, cfNames []string) (*R
|
||||||
LastState: nil,
|
LastState: nil,
|
||||||
Height: 0,
|
Height: 0,
|
||||||
Headers: nil,
|
Headers: nil,
|
||||||
OpenIterators: make(map[string][]chan struct{}),
|
|
||||||
ShutdownChan: make(chan struct{}, 1),
|
ShutdownChan: make(chan struct{}, 1),
|
||||||
DoneChan: make(chan struct{}, 1),
|
DoneChan: make(chan struct{}, 1),
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,6 @@ func OpenAndFillTmpDBColumnFamlies(filePath string) (*dbpkg.ReadOnlyDBColumnFami
|
||||||
LastState: nil,
|
LastState: nil,
|
||||||
Height: 0,
|
Height: 0,
|
||||||
Headers: nil,
|
Headers: nil,
|
||||||
OpenIterators: make(map[string][]chan struct{}),
|
|
||||||
ShutdownChan: make(chan struct{}, 1),
|
ShutdownChan: make(chan struct{}, 1),
|
||||||
DoneChan: make(chan struct{}, 1),
|
DoneChan: make(chan struct{}, 1),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue