diff options
author | dwight <dwight@10gen.com> | 2010-12-20 20:24:43 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-12-20 20:24:43 -0500 |
commit | 9666cbe80700900283679cae88b1c3fdd6431e01 (patch) | |
tree | 4ebb9e52f7b93e50694e369596e4a380da93b4e4 /db/dur_journalformat.h | |
parent | 5c0a44409d2312ebe75bd2685d195a63d511ceab (diff) | |
download | mongo-9666cbe80700900283679cae88b1c3fdd6431e01.tar.gz |
dur journal file format change in prep for addtl work
Diffstat (limited to 'db/dur_journalformat.h')
-rw-r--r-- | db/dur_journalformat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/dur_journalformat.h b/db/dur_journalformat.h index e223ad53e85..33a7ffb349b 100644 --- a/db/dur_journalformat.h +++ b/db/dur_journalformat.h @@ -36,7 +36,7 @@ namespace mongo { // x4142 is asci--readable if you look at the file with head/less -- thus the starting values were near // that. simply incrementing the version # is safe on a fwd basis. - enum { CurrentVersion = 0x4145 }; + enum { CurrentVersion = 0x4146 }; unsigned short _version; // these are just for diagnostic ease (make header more useful as plain text) @@ -57,7 +57,8 @@ namespace mongo { len is length of the entire section including header and footer. */ struct JSectHeader { - unsigned len; // length in bytes of the whole section + unsigned len; // length in bytes of the whole section + unsigned long long seqNumber; // sequence number that can be used on recovery to not do too much work }; /** an individual write operation within a group commit section. Either the entire section should |