-
Notifications
You must be signed in to change notification settings - Fork 193
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
Verify Indices Mappings and Clear all Indices #1064
Verify Indices Mappings and Clear all Indices #1064
Conversation
This is a big (adding 700 lines) change that introduces valuable functionality. My only observation is it seems splittable conceptually into two pieces of functionality; the verify, and the clear-indices. Would it make sense to make a separate PR that only introduced the checking/verification code from this? That would be a smaller, much less risky change; then this one could be rebased past that, with the higher-risk code isolated and more easily reviewable. |
Yes, you are right. I also noticed that I actually was working on two different tasks. But unfortunately both share the same code and also the same tests. So I need to rebuild a separate branch from the master branch and reimport the sub routines from the current branch, and review it of course. Also the second branch would need to be rebased according to which branch is merged first. |
I built a new branch at: |
I would really like to see the verify done (including merged and released, since it is inherently less risky) first, not the clear. Is there a good reason why it can't be done in that order? |
Actually the verify mappings logic is the bigger part of this development with the introducing the On the other side the tests of the |
I rebuilt the "Verify Mappings" functionality at: |
the other PR is merged, so shall we close this one? |
this development was split into 2 separate Pull Requests so this Pull Request is obsolete and can be closed |
This implements the functionality discussed at:
Fix Corrupted Indices and Verify Mappings
It is also able to fix difficulties and corruptions as documented at
Unexpected Index Corruption
Additionally it implements Exit with Error Code for unconfirmed Operations.
To test all the functionality it features several Mapping Script Tests.