-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reindexEncrypted
needs to be crash-resistant
#407
Comments
About this:
This assumes that something comes in and does a query in jitdb between the reindex calls. In jitdb we just reset the indexes so they will be re-created on next query. So if there is nothing concurrent this should only do 1 reindex from 6, right? |
Ooooh |
reindexEncrypted
needs to be crash-resistant
Yeah, so let's drop that jitdb optimization idea, you were right. The "boolean" file in disk to trigger resume of reindexedEncrypted is still going to be relevant to implement. |
I got a test written for this, and I got the implementation written correctly, but my implementation isn't passing the tests due to some odd issue with jitdb. Maybe one day we can try having a pair programming debugging. |
Okay, maybe friday afternoon @staltz ? I'm a big hung up right now. |
Sounds good. This isn't a blocker right now. |
Context: ssbc/ssb-box2#22
The text was updated successfully, but these errors were encountered: