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
Received a one-off panic during one of the unit tests of the store package. This doesn't look like a vault issue at first glance and it looks like a pretty rare failure (I've only see it once after running these tests a few hundred times by now). I'm opening this now so that I don't misplace the stack trace info and because I don't want to rabbit-hole on this right now. Will come back to it sometime next week most likely.
We set up the defer to close the iterator in the next line, which is the earliest we could possibly do so. If the txn being discarded can cause a panic, I'm not sure why it would be allowed to do so during the iterator constructor. It could be that one of our tests doesn't bother to finish iterating, so it's calling iterate() just as a test tear-down is destroying the DB... I'll need to check each of the store_test.go tests to make sure it isn't something dumb like that.
If not, I'll follow-up with upstream. Unfortunately the dgraph folks don't have a real public issue tracker, just a forum. https://discuss.dgraph.io/search?q=unclosed%20iterator doesn't show anything current for this kind of issue.
The text was updated successfully, but these errors were encountered:
Received a one-off panic during one of the unit tests of the
store
package. This doesn't look like a vault issue at first glance and it looks like a pretty rare failure (I've only see it once after running these tests a few hundred times by now). I'm opening this now so that I don't misplace the stack trace info and because I don't want to rabbit-hole on this right now. Will come back to it sometime next week most likely.Stack trace:
The last frame we own is on line 479 here:
plan-vault-libp2p/store/store.go
Lines 479 to 480 in 7617f31
We set up the defer to close the iterator in the next line, which is the earliest we could possibly do so. If the txn being discarded can cause a panic, I'm not sure why it would be allowed to do so during the iterator constructor. It could be that one of our tests doesn't bother to finish iterating, so it's calling
iterate()
just as a test tear-down is destroying the DB... I'll need to check each of thestore_test.go
tests to make sure it isn't something dumb like that.If not, I'll follow-up with upstream. Unfortunately the dgraph folks don't have a real public issue tracker, just a forum. https://discuss.dgraph.io/search?q=unclosed%20iterator doesn't show anything current for this kind of issue.
The text was updated successfully, but these errors were encountered: