summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/linearstore.cmake
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2013-12-03 21:46:39 +0000
committerKim van der Riet <kpvdr@apache.org>2013-12-03 21:46:39 +0000
commitbe7f29b88c183c6c24e15539d7a9b4a58a6d420e (patch)
tree56586945c6c38c03df97219fd9fb35ee058c355c /qpid/cpp/src/linearstore.cmake
parentd88a384d89cf3439683393514c076797d5ceff5e (diff)
downloadqpid-python-be7f29b88c183c6c24e15539d7a9b4a58a6d420e.tar.gz
QPID-5358: Checksum not implemented in record tail, not checked during read. Implemented the Alder-32 algorithm to check every record from the start of the header to the start of the record tail. Upon recovery, the recovered record checksum is compared to the record tail checksum. This should detect the condition where a multi-page record may have its header and tail written, but one or more of its inbetween pages may not be fully written.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/linearstore.cmake')
-rw-r--r--qpid/cpp/src/linearstore.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/linearstore.cmake b/qpid/cpp/src/linearstore.cmake
index 8568cdbb77..d576f78bef 100644
--- a/qpid/cpp/src/linearstore.cmake
+++ b/qpid/cpp/src/linearstore.cmake
@@ -93,6 +93,7 @@ if (BUILD_LINEARSTORE)
# Journal source files
set (linear_jrnl_SOURCES
+ qpid/linearstore/journal/Checksum.cpp
qpid/linearstore/journal/data_tok.cpp
qpid/linearstore/journal/deq_rec.cpp
qpid/linearstore/journal/EmptyFilePool.cpp