Commit Graph

204 Commits

Author SHA1 Message Date
Mathias Stearn
a1101c06c7 make it possible to temporarily disable durability 2010-12-29 20:33:59 -05:00
Mathias Stearn
4501105b7e enableDurability() is now a static member called autmatically by dur::startup() 2010-12-29 20:08:21 -05:00
Mathias Stearn
20e25e1315 get rid of unlinkThread 2010-12-29 19:25:31 -05:00
Aaron
3a2087ac5c Add support for making NamespaceDetails::Extra writes durable and use this durable support when dropping indexes 2010-12-28 17:35:15 -08:00
Mathias Stearn
0d010f8131 Move journal file check to acquireLockPath so tools run this 2010-12-28 19:25:33 -05:00
Mathias Stearn
8937f72ef7 added commitIfNeeded() 2010-12-28 18:01:57 -05:00
dwight
ff2e487de3 eliminate the lsn thread 2010-12-27 17:01:48 -05:00
Mathias Stearn
7085a082e3 Add --durOptions 16 bit for DurAlwaysCommit to commit whenever the writelock is released 2010-12-27 14:33:13 -05:00
dwight
9472613d04 dur stats 2010-12-27 11:29:16 -05:00
dwight
2c5aae61e2 add a stat 2010-12-26 11:50:37 -05:00
dwight
da18488b48 organizing 2010-12-26 11:17:07 -05:00
dwight
f35b33da44 dur towards stats 2010-12-26 11:07:06 -05:00
dwight
f68273ffd7 slightly less chatty debug msg 2010-12-25 16:14:35 -05:00
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