[krbdev.mit.edu #8476] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Aug 16 21:46:17 EDT 2016


Add bttest unlink page command

To enable testing of recursive btree traversal, add an unlink page
command to the bttest program (used for debugging the libdb2 btree
back end).  This new bttest command can unlink a specified page
number, or it can search for and unlink a page that has both a left
and a right sibling.  (The user can specify whether to find an
internal page or a leaf page.)

This unlinking makes the page inaccessible to conventional sequential
traversal, simulating some btree corruption that has been seen in the
field.

https://github.com/krb5/krb5/commit/f7e4078de12cb77fa55e3f6aaa8137c1ced2e796
Author: Tom Yu <tlyu at mit.edu>
Commit: f7e4078de12cb77fa55e3f6aaa8137c1ced2e796
Branch: master
 src/plugins/kdb/db2/libdb2/btree/bt_delete.c       |    3 +-
 src/plugins/kdb/db2/libdb2/btree/extern.h          |    8 +-
 src/plugins/kdb/db2/libdb2/libdb.exports           |    1 +
 src/plugins/kdb/db2/libdb2/test/btree.tests/main.c |   88 ++++++++++++++++++++
 4 files changed, 94 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list