Commit Graph

117 Commits

Author SHA1 Message Date
Mathias Stearn
79e5cbbd57 Recovery uses mmaped files again 2011-01-04 21:02:13 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Dwight
1b7ac8c5e6 missing lock? dur 2011-01-03 15:15:07 -05:00
Dwight
87cf5a3f83 Revert "remove what appears to be dead code"
This reverts commit 5379e7ce30.
2011-01-03 15:00:09 -05:00
Eliot Horowitz
e869f00e1d fix compile *nix 2011-01-03 14:13:07 -05:00
Dwight
28a558b213 dur fix potential await issue 2011-01-03 14:05:56 -05:00
Dwight
04b0d4366a small optimization 2011-01-03 14:01:13 -05:00
Dwight
a19ebee8d9 dur safer 2011-01-03 13:59:06 -05:00
Dwight
73be40b922 comment 2011-01-03 13:53:47 -05:00
Dwight
5379e7ce30 remove what appears to be dead code 2011-01-03 13:51:02 -05:00
Dwight
d7f625ad2d cleaning remove some debug code 2011-01-03 13:33:46 -05:00
Dwight
411389f080 dur cleanup of nolog method. no change in actual behavior yet. 2011-01-03 12:08:17 -05:00
Mathias Stearn
38624c7cc0 Only work with MongoFiles inside of lock 2010-12-30 15:47:30 -05:00
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