-
Notifications
You must be signed in to change notification settings - Fork 20
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
Concurrent merges #118
Concurrent merges #118
Conversation
What about adding hooks to ease testing -- maybe a lock that the testing framework can hold to block the merge while doing other operations, to check that there are progress going on. More generally, I think we should try to redesign the library a bit to make it more easily testable -- I know @craigfe started to work a bit on this on the I/O side, but would be great if we could push this "design-to-ease-tests" at the core of the library, especially for the merges. |
Update on debugging:
|
This is now fixed by the last commit. The issue was a buffer shared between an RO and an RW instance. But there is (at least) one bug remaining. |
This bug was caused by something like* the following scenario: I proposed a quick fix which is to force an update of the index when the value is not found. This is only to check that the bug is fixed, maybe we can improve it. *something like this, because is hard to track what really happens as too many logs introduce delays and the bug does not reappear. |
After the most-recent commit (e76715c), I have gone through 1000 consecutive test runs without any failures; this seems to have fixed something at least 🎉 |
Co-authored-by: Clément Pascutto <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final round of nit-picks.
Fixed ✔️ |
See mirage/index#118 for the design discussions
Fix an issue during #118 git merge
See mirage/index#118 for the design discussions
See mirage/index#118 for the design discussions
Fixes #13.
On top of #105 to ease debugging.
This is still very WIP.