Commit Graph

29 Commits

Author SHA1 Message Date
dwight
50902acb9a journal compression 2011-08-02 02:41:45 -04:00
dwight
9a30ac81c4 journal compression 2011-08-02 02:39:51 -04:00
dwight
c716fa537d journal compression. the write half of the work. 2011-08-02 02:39:04 -04:00
dwight
6113b4cd26 change to a faster checksum (old was md5). new is less discriminating but fast.
also, now includes the JSectHeader in the checksum.
2011-02-24 13:34:42 -05:00
dwight
73a8cfd0a4 header to cpps from h 2011-02-23 20:51:13 -05:00
dwight
9996ea0734 move some code from h to cpp file - our convention is longer methods generally go in the cpp 2011-02-23 20:51:11 -05:00
dwight
7e6c8199ce comment 2011-02-23 20:51:07 -05:00
dwight
879e5e1b0a preallocate journal files. some file systems are quite slow otherwise. 2011-02-04 15:02:06 -05:00
dwight
f70a285449 try to fix md5.js test 2011-01-22 14:07:16 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Dwight
2cbebcb827 new lsn format 2010-12-23 14:50:22 -05:00
Dwight
7de690cc96 fix comments 2010-12-22 12:42:35 -05:00
Dwight
8cf2e8f751 add test 2010-12-22 12:30:46 -05:00
dwight
9666cbe807 dur journal file format change in prep for addtl work 2010-12-20 20:24:43 -05:00
Mathias Stearn
9fcb46f038 Manually revert JObjAppendOp stuff 2010-12-20 13:29:58 -05:00
dwight
ec5ff12c53 dur stub out a compressed builder 2010-12-19 19:42:28 -05:00
dwight
a3f04b6bc0 dur tiny optimization 2010-12-19 13:37:46 -05:00
dwight
1fb5ac5453 dur optimize writing to the oplog for durability 2010-12-19 10:54:45 -05:00
dwight
4efaae0566 dur optimizing seeting context to local database as that will be super common case 2010-12-17 08:00:06 -05:00
Mathias Stearn
83a78478c2 Remove support for non-checksummed journal file 2010-12-15 14:51:33 -05:00
dwight
6689861a0d Revert "Revert "str stuff""
This reverts commit 0e3aed4922a0c16756e1101b3c2ba24d1a10d9dc.
2010-12-15 10:42:50 -05:00
dwight
dad23bdae0 Revert "str stuff"
This reverts commit c4b67bcf8092dec4dc2bc20a86808d5fde517381.
2010-12-15 10:42:45 -05:00
dwight
62fbef60e7 str stuff 2010-12-15 10:42:43 -05:00
dwight
ba84222056 use relative paths in the journal 2010-12-14 20:27:24 -05:00
dwight
51bc560803 dur drop database handling 2010-12-12 19:47:10 -05:00
Mathias Stearn
d53c412a29 Add an md5sum to each journal commit and check it on restore
This slightly changes the journal format. Currently, support is there for
reading the old format, but I plan to remove that next week.
2010-12-10 19:20:43 -05:00
Mathias Stearn
cde5c05c09 make journalformat more self-documenting 2010-12-10 19:20:43 -05:00
Mathias Stearn
8c38b329f0 this should be an enum 2010-12-10 19:20:43 -05:00
dwight
ce93e7c824 dur 2010-11-26 18:18:24 -05:00