-
Notifications
You must be signed in to change notification settings - Fork 9
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
Weird error when deleting: Natural subtraction underflow #28
Comments
Here's an example of how CanDB can be used with deletion https://github.com/ByronBecker/hello-candb/tree/deletion-example
Frontend allowing you to delete a user that has been inserted https://github.com/ByronBecker/hello-candb/blob/5a9339509bd8c39fc11c6b381e8a59ad56222cb1/frontend/src/App.tsx#L130 |
The error made repeatable by https://github.com/vporton/bug-candb-delete test repo. Now I am working on a minimal example. |
Oops, it is repeatable by commit |
I created a nearly minimal example for CanDB: https://github.com/vporton/bug-candb-delete/tree/candb-minimal The further work is locating the error in CanDB or more likely in BTree. |
…in Natural subtraction underflow during deletion
Fix for #28: No increment in CanDB.update during creation, resulting in... See merge request origyn/engineering/opensource/candb-projects/CanDB!25
Fixed in d767609 |
My software does some puts, attribute modification. Then I try to delete an existing key:
This happens with the latest version of
beta
, if I did not confuse anything.The text was updated successfully, but these errors were encountered: