summaryrefslogtreecommitdiff
path: root/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
commitc4adf22274caee4d3d6869d97e6f1a98717c7df4 (patch)
treee9a055d1bd52677c473cf2e9964a2b3d033272b7 /cpp/src/linearstore.cmake
parentd4ac61b877597d35caf9163467bcb218003064a2 (diff)
downloadqpid-python-c4adf22274caee4d3d6869d97e6f1a98717c7df4.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/qpid@1547601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/linearstore.cmake')
-rw-r--r--cpp/src/linearstore.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/linearstore.cmake b/cpp/src/linearstore.cmake
index 8568cdbb77..d576f78bef 100644
--- a/cpp/src/linearstore.cmake
+++ b/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