diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-01-29 22:20:30 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-01-29 22:20:30 +0000 |
commit | 50cabef529b99aca61d33d54285adad30a09ae78 (patch) | |
tree | f706ae69199e5f0fb496aa020cc05a70c8d85988 /cpp/src/Freeze/IndexI.cpp | |
parent | Halt JVM when saving thread dies (diff) | |
download | ice-50cabef529b99aca61d33d54285adad30a09ae78.tar.bz2 ice-50cabef529b99aca61d33d54285adad30a09ae78.tar.xz ice-50cabef529b99aca61d33d54285adad30a09ae78.zip |
Deadlock warnings, dead facet removal
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 // |