Commit Graph

98 Commits

Author SHA1 Message Date
Kristina
e54996c810 add tests for recloning missing docs SERVER-3367 2011-11-30 14:25:34 -05:00
dwight
ba858ba8d3 redo how we handle concurrency when opening a database initially.
this was awkward at best before (very old code).  however the change is pretty big and is thus
worth a careful review - the main issue possible is not being locked as widely as it should be
somewhere, not so much the specifics of any one line of the change.

also cleaned up the Context constructors to be more readable and got rid of one completely

made several Context object members const
2011-11-26 21:08:11 -05:00
Eliot Horowitz
7156346ff7 fix oplog replay segfault SERVER-4350 2011-11-23 02:35:13 -05:00
Kristina
c99abec538 Generalize recloning docs on initial oplog application SERVER-3367 2011-11-11 18:24:36 -05:00
dwight
bad807e45b SERVER-4259 comment 2011-11-11 11:50:17 -05:00
dwight
fa6ebc65be fix a possible issue with initial sync with replication when updates are in flight.
also correct UpdateResult in one case
2011-09-18 17:23:28 -04:00
Kristina
723c6fbffb make getlasterror return an optime, not an int64 SERVER-3665 2011-09-16 13:05:49 -04:00
dwight
e78bc26396 timer class was slow on windows; fixed. 2011-09-12 23:32:19 -04:00
Aaron
26e10443f5 SERVER-3482 update tests, handle empty oplog properly 2011-07-31 10:12:25 -07:00
Aaron
175e039247 SERVER-3482 check oldest op first when doing oplog replay, wassert instead of massert on encountering empty extent 2011-07-31 08:59:00 -07:00
gregs
e5d902202f full API change to command interface, add options SERVER-3405 2011-07-27 15:59:27 -04:00
Eliot Horowitz
131e1d2182 more cleaning 2011-06-22 15:51:08 -04:00
Eliot Horowitz
32de61255e putting delete in its own files and related cleaning 2011-06-20 17:34:16 -04:00
Eliot Horowitz
4d2cb04931 more update cleaning 2011-06-20 16:23:54 -04:00
Aaron
dda653aae0 FindingStartCursor cleanup 2011-06-13 14:19:23 -07:00
Aaron
abcf32bd28 FindingStartCursor comments, cleanup, fixes 2011-06-13 14:06:57 -07:00
Eliot Horowitz
bf856b75d9 fix error codes 2011-06-06 14:41:56 -04:00
dwight
19c9c5af79 move static outside function to avoid implicit mutex lock 2011-05-24 10:21:04 -04:00
dwight
bd5b607137 make applylogop slightly faster and general applyop cleaning 2011-05-23 20:03:18 -04:00
dwight
990e708ead cleaning 2011-05-23 20:03:05 -04:00
dwight
f3cfb889da check we are in writelock on optime::now. also tune it a bit 2011-05-14 20:16:24 -04:00
Aaron
3af50f5b94 SERVER-958 merge and address mongos dependency differences 2011-04-25 13:29:51 -07:00
Aaron
2df2fe8991 reduce queryutil dependencies a bit 2011-04-25 13:29:50 -07:00
Dwight
fbc1a0d20f the replication oplog size was not intelligently being set on windows by default.
this resulted in a default size of 1GB which can be too small if not explicitly
specified on the command line.
2011-04-14 15:49:45 -04:00
Mathias Stearn
d22898cd96 missing WriteIntent during RS initial sync 2011-01-12 17:40:14 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Mathias Stearn
9fcb46f038 Manually revert JObjAppendOp stuff 2010-12-20 13:29:58 -05:00
dwight
ac212cf081 dur use opcode_objappend for repl sets too 2010-12-19 13:19:39 -05:00
dwight
302beeb7e1 dur cleaning 2010-12-19 13:11:43 -05:00
dwight
4cdf39537e readability 2010-12-19 12:55:16 -05:00
dwight
1fb5ac5453 dur optimize writing to the oplog for durability 2010-12-19 10:54:45 -05:00
dwight
0ce38b5339 kill old commented 2010-12-17 11:29:05 -05:00
Mathias Stearn
1c17cece76 Pull some durability code into a class for easy disabling 2010-12-10 19:20:43 -05:00
dwight
631d98fede fix regression of pretouch slave repl 2010-11-28 23:44:23 -05:00
dwight
a4728be3a9 Revert "fix regression in repl slave pretouch"
This reverts commit e58e80b708.
2010-11-28 23:41:10 -05:00
dwight
e58e80b708 fix regression in repl slave pretouch 2010-11-28 23:28:04 -05:00
Eliot Horowitz
f3fe0ba508 replicate applyOps SERVER-2155 2010-11-28 02:35:14 -05:00
Eliot Horowitz
7cc161c6a5 track replicated ops SERVER-1565 2010-11-09 17:01:58 -05:00
Kristina Chodorow
231219f1e8 don't tell people they can change oplogSize 2010-10-27 17:23:56 -04:00
Dwight
7edb8c3f65 intent to write 2010-09-29 10:18:11 -04:00
Dwight
a0e977c8c1 write intent 2010-09-28 18:08:44 -04:00
Eliot Horowitz
4b6447bdcb use logns so dbtop is sane 2010-08-26 12:16:22 -04:00
Dwight
8b56c14d38 clean logging 2010-08-17 16:31:21 -04:00
Eliot Horowitz
99ac3f8fcb fixing noop replication handling 161 2010-08-16 13:45:52 -04:00
Dwight
44d39a27af merge 2010-08-02 15:22:42 -04:00
dwight
58bbf8a4d3 cleaning 2010-07-23 14:52:14 -04:00
dwight
6212e5c2df rs de-spaghetti 2010-07-22 17:50:54 -04:00
Eliot Horowitz
1f8a29ada3 remove collection level logging SERVER-1455 2010-07-21 09:55:46 -04:00
dwight
fe1d205aa8 rs 2010-07-19 22:32:43 -04:00
Dwight
bca3ced2bb compilie 2010-07-19 10:48:47 -04:00