You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that there is some ERROR being ignored here
func (node *Node) traverseInRange(tree *ImmutableTree, start, end []byte, ascending bool, inclusive bool, post bool, cb func(*Node) bool) bool {
stop := false
t := node.newTraversal(tree, start, end, ascending, inclusive, post)
// TODO: figure out how to handle these errors
for node2, err := t.next(); node2 != nil && err == nil; node2, err = t.next() {
stop = cb(node2)
if stop {
return stop
}
}
return stop
}
Is it normal that some errors from GetNode, especially fmt.Errorf("Value missing for key %v corresponding to nodeKey %x", nk, nodeKey) will not be processed? Is it expected?
The text was updated successfully, but these errors were encountered:
I've noticed that there is some ERROR being ignored here
Is it normal that some errors from GetNode, especially
fmt.Errorf("Value missing for key %v corresponding to nodeKey %x", nk, nodeKey)
will not be processed? Is it expected?The text was updated successfully, but these errors were encountered: