diff options
Diffstat (limited to 'cpp/src/Freeze/IndexI.cpp')
-rw-r--r-- | cpp/src/Freeze/IndexI.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/Freeze/IndexI.cpp b/cpp/src/Freeze/IndexI.cpp index 1e0dd451272..227f876b798 100644 --- a/cpp/src/Freeze/IndexI.cpp +++ b/cpp/src/Freeze/IndexI.cpp @@ -143,6 +143,14 @@ Freeze::IndexI::untypedFindFirst(const Key& bytes, Int firstN) const // } } + + if(_evictor->deadlockWarning()) + { + Warning out(_evictor->communicator()->getLogger()); + out << "Deadlock in Freeze::IndexI::untypedFindFirst while searching \"" + << _evictor->dbName() << "\"; retrying ..."; + } + // // Retry // @@ -236,6 +244,14 @@ Freeze::IndexI::untypedCount(const Key& bytes) const // } } + + if(_evictor->deadlockWarning()) + { + Warning out(_evictor->communicator()->getLogger()); + out << "Deadlock in Freeze::IndexI::untypedCount while searching \"" + << _evictor->dbName() << "\"; retrying ..."; + } + // // Retry // |