summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/linearstore/journal/LinearFileController.h
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2013-11-26 08:13:30 +0000
committerKim van der Riet <kpvdr@apache.org>2013-11-26 08:13:30 +0000
commitbdbd978b38cec8f5d336d24d6370bec40704d53f (patch)
tree92b99c7346b7074a38689a6fd31fb413e2e8b1ee /cpp/src/qpid/linearstore/journal/LinearFileController.h
parent7e01aebde53c3bdb29492e6eb056d7249aa8c611 (diff)
downloadqpid-python-bdbd978b38cec8f5d336d24d6370bec40704d53f.tar.gz
QPID-5357 "Linearstore: Empty file recycling not functional": Fix which implements the empty file check for trailing empty files.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1545563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/linearstore/journal/LinearFileController.h')
-rw-r--r--cpp/src/qpid/linearstore/journal/LinearFileController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/linearstore/journal/LinearFileController.h b/cpp/src/qpid/linearstore/journal/LinearFileController.h
index 61226d3015..fa8327007a 100644
--- a/cpp/src/qpid/linearstore/journal/LinearFileController.h
+++ b/cpp/src/qpid/linearstore/journal/LinearFileController.h
@@ -47,6 +47,7 @@ protected:
JournalFile* currentJournalFilePtr_;
AtomicCounter<uint64_t> fileSeqCounter_;
AtomicCounter<uint64_t> recordIdCounter_;
+ AtomicCounter<uint64_t> decrCounter_;
JournalFileList_t journalFileList_;
smutex journalFileListMutex_;