mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 23:51:03 +00:00
sanity check
This commit is contained in:
parent
a8ca2aa67f
commit
21596dfa1d
1 changed files with 7 additions and 4 deletions
|
|
@ -203,11 +203,14 @@ func (self *FragmentContainer) Clear(frag_id util.SUUID) (bool, error) {
|
|||
|
||||
func (self *FragmentContainer) AddFragment(db string, frame string, slice int, id util.SUUID) {
|
||||
log.Println("ADD FRAGMENT", frame, db, slice, util.SUUID_to_Hex(id))
|
||||
f := NewFragment(id, db, slice, frame)
|
||||
self.fragments[id] = f
|
||||
_, ok := self.fragments[id]
|
||||
if !ok {
|
||||
f := NewFragment(id, db, slice, frame)
|
||||
self.fragments[id] = f
|
||||
go f.ServeFragment()
|
||||
go f.Load()
|
||||
}
|
||||
|
||||
go f.ServeFragment()
|
||||
go f.Load()
|
||||
}
|
||||
|
||||
type Pilosa interface {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue