I found this by working backwards from a real mapeo-desktop dataset where
hyperlog-index's "ready()" never fired.
Turns out a failure from getLinks() would prevent a 'reject' event from firing,
keeping the preadd vs add/reject event count from balancing, which
hyperlog-index relies on.
I found this by working backwards from a real mapeo-desktop dataset where hyperlog-index's "ready()" never fired.
Turns out a failure from getLinks() would prevent a 'reject' event from firing, keeping the preadd vs add/reject event count from balancing, which hyperlog-index relies on.
Includes bugfix and a regression test.