Skip to content

Commit

Permalink
clean up debug on memstore
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed Feb 4, 2024
1 parent 592ac35 commit 772f2c8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions datatype/neuronjson/memstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@ func (d *Data) getMemDBbyVersion(v dvid.VersionID) (db *memdb, found bool) {

db, found = d.dbs.static[uuid]
if found {
// dvid.Infof("Found static memdb for version %d, uuid %s\n", v, uuid)
return
}
for branch := range d.dbs.head {
_, branchV, err := datastore.GetBranchHead(uuid, branch)
if err == nil && branchV == v {
// dvid.Infof("Found head memdb for branch %s, version %d, uuid %s\n", branch, v, uuid)
return d.dbs.head[branch], true
}
// dvid.Infof("Didn't find memdb for branch %s, version %d, uuid %s, found branch %d %t\n", branch, v, uuid, branchV, found)
}
return
}
Expand Down

0 comments on commit 772f2c8

Please sign in to comment.