[krbdev.mit.edu #8478] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Tue Aug 16 21:46:16 EDT 2016
Fix MPOOL_IGNOREPIN to ease btree debugging
Various libdb2 test programs use the MPOOL_IGNOREPIN flag to examine
arbitrary mpool pages that may or may not be pinned. This flag is
apparently intended to allow fetching pages that are already pinned,
and to avoid setting the MPOOL_PINNED flag. When there was a cache
hit, mpool_get was setting MPOOL_PINNED anyway, causing aborts when
using debugging programs such as dbtest and bttest.
Fix this inconsistency by not setting MPOOL_PINNED when returning a
cached page when the caller requested MPOOL_IGNOREPIN. In bttest, add
MPOOL_IGNOREPIN to allow dumping of pages while they are pinned
without disrupting their pinned status.
https://github.com/krb5/krb5/commit/e6b4a19a546e0a171a416261cb06dfcc8e607e7b
Author: Tom Yu <tlyu at mit.edu>
Commit: e6b4a19a546e0a171a416261cb06dfcc8e607e7b
Branch: master
src/plugins/kdb/db2/libdb2/mpool/mpool.c | 3 ++-
src/plugins/kdb/db2/libdb2/test/btree.tests/main.c | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
More information about the krb5-bugs
mailing list