Skip to content
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

Add sanity checking (validation) code to BTree Manager #38

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

Add sanity checking (validation) code to BTree Manager #38

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

The BTree Manager is easily the most complex of the SimpleDBM modules. If
things go wrong it is very hard to pinpoint where the problem lies. 

Already several measures are present:

Trace messages have been added recently.
Node level validations are done if appropriate flag is set at run time.
Simple checks are performed when inserting new entries in a page - also
when a flag is set.
Number of assertions have been increasing.

But these measures are all ad-hoc. We need a more systematic approach so
that we get the maximum benefit at minimum overhead. For instance, it only
makes sense to validate stuff if things have changed.

Original issue reported on code.google.com by [email protected] on 2 Aug 2008 at 12:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant