Commit Graph

91 Commits

Author SHA1 Message Date
Dwight
53e0374e57 make journal dir earlier if dne 2010-12-23 14:50:49 -05:00
Mathias Stearn
340c10a7d5 Make p point to end rather than start 2010-12-22 16:52:47 -05:00
Mathias Stearn
82d46601e1 Stop passing WriteIntents around 2010-12-22 16:52:47 -05:00
Mathias Stearn
175e40aa92 Use journal buffer to write to data files phase 1 2010-12-21 21:23:53 -05:00
Dwight
97ab6fa1af do insertWriteIntent outside of dbMutex, which yeilds a small throughput increase 2010-12-21 12:52:59 -05:00
dwight
678a260283 dur sequence numbers to speed recovery 2010-12-20 22:49:37 -05:00
Mathias Stearn
3dfc3dd42b replace WriteIntent vector with a set and merge overlapping/adjacent intents 2010-12-20 15:17:02 -05:00
Dwight
98bde47e03 compile _DEBUG 2010-12-20 13:35:24 -05:00
Mathias Stearn
9fcb46f038 Manually revert JObjAppendOp stuff 2010-12-20 13:29:58 -05:00
dwight
8d1b7c0ee3 remove comrpessedbuilder 2010-12-20 09:28:19 -05:00
dwight
ec5ff12c53 dur stub out a compressed builder 2010-12-19 19:42:28 -05:00
dwight
3c5c64a543 dur objappend temporarily off until fixed; objappend moved to its own data structure separate from basic writes 2010-12-19 15:31:11 -05:00
dwight
a3f04b6bc0 dur tiny optimization 2010-12-19 13:37:46 -05:00
dwight
bba46ee7eb merge 2010-12-19 11:47:39 -05:00
Mathias Stearn
a076624f2e force commit every 100MB 2010-12-17 18:53:50 -05:00
Mathias Stearn
7740e42328 rename function and call with lock still held 2010-12-17 18:53:50 -05:00
Mathias Stearn
dce63e952c oops 2010-12-17 18:53:50 -05:00
dwight
1dc486db7d dur stats beginnings 2010-12-17 12:13:50 -05:00
dwight
afb0d22032 organizing 2010-12-17 11:52:42 -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
c2496691f1 safety 2010-12-16 16:22:14 -05:00
Mathias Stearn
bc915c7cef DropDbOp must be in it's own group commit 2010-12-15 14:43:04 -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
b55418440a comment 2010-12-14 18:06:59 -05:00
Mathias Stearn
488eeaadec Fail hard if maps don't match 2010-12-14 14:24:42 -05:00
Mathias Stearn
d946dce692 Exceptions in durThread should cause immediate shutdown 2010-12-14 14:24:42 -05:00
dwight
7ee635b2a2 fix warning convesion 64 bit to 32 bit int 2010-12-13 20:09:00 -05:00
Mathias Stearn
02572f806f Use memcmp to speed up dur checking. Add --durOptions bit for extra checks 2010-12-13 18:54:53 -05:00
dwight
c7c5a57b1f eliminate the _DURABLE preprocessor define 2010-12-13 18:03:32 -05:00
Dwight
85502d3bd8 compile 2010-12-13 16:08:40 -05:00
Dwight
1a4ec92282 dur safety when going back and forth with startup options 2010-12-13 16:06:13 -05:00
Dwight
4a437cc8b8 commitNow() 2010-12-13 14:53:49 -05:00
Eliot Horowitz
0317b34be5 dur compile 2010-12-13 02:23:50 -05:00
dwight
9c3f0bf9d3 move stuff into dur namesapce 2010-12-13 00:40:13 -05:00
dwight
d7a05a90da dur getlasterror wait for group commit via fsync:1 2010-12-13 00:21:08 -05:00
dwight
51bc560803 dur drop database handling 2010-12-12 19:47:10 -05:00
dwight
488dd8b82f compile 2010-12-12 16:46:38 -05:00
dwight
cc66c8abf0 dur trace a little better 2010-12-12 16:05:21 -05:00
dwight
c853e9a206 work around a header include dependency issue; plus misc cleaning 2010-12-12 10:59:16 -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
1c17cece76 Pull some durability code into a class for easy disabling 2010-12-10 19:20:43 -05:00
Dwight
b2378d6b5f dur bug fix when --dur is off 2010-12-09 12:36:08 -05:00
dwight
646b27bfb2 dur bug with remap 2010-12-08 00:27:04 -05:00
dwight
42db2e8ff8 hmmm 2010-12-06 23:31:26 -05:00
Eliot Horowitz
20897e334b compile 2010-12-06 22:39:04 -05:00
dwight
b0f9b1a4d2 compile 2010-12-06 20:55:16 -05:00
dwight
03984ad0df tweak name 2010-12-06 20:25:20 -05:00