Commit Graph

39 Commits

Author SHA1 Message Date
Mathias Stearn
2b58bd8904 Changes to source needed to compile cleanly with clang++ 2011-03-16 17:25:53 -04:00
greg
737a20b8fa Fixes for distributed lock handling time skew.
In general, the current distributed lock is susceptible to time skew in config servers and mongos clients.  This update
uses an algorithm that checks for time skew, as well as providing some more robust tests to make sure a distributed
lock cannot be forced prematurely.  Some documentation on the website, currently hidden from non-10gen, gives more
info.
2011-03-01 14:15:26 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
dwight
d7a05a90da dur getlasterror wait for group commit via fsync:1 2010-12-13 00:21:08 -05:00
Eliot Horowitz
c5f3d8fb82 get rid of lastAssert and assertinfo command 2010-11-09 10:54:32 -05:00
dwight
279d33bee6 dbclient: once a connection in failed state be sure not to use it. this is a fairly big change in a way because it now throws mroe often. affects replica sets. 2010-10-31 19:12:12 -04:00
Eliot Horowitz
d6295508f6 msgassertedNoTrace with string 2010-10-30 22:08:59 -04:00
Eliot Horowitz
380cdd5bf2 handle databases with different cases in mongos SERVER-1443 2010-07-22 15:39:20 -04:00
Eliot Horowitz
72f2eb24d5 change LazyString to toString rather than (string) 2010-07-17 22:11:21 -04:00
Mathias Stearn
13c6875815 temporarily Revert "git rid of "operator string""
This reverts commit 95fa51a1df.
2010-07-07 01:22:33 -04:00
Mathias Stearn
95fa51a1df git rid of "operator string" 2010-07-07 00:30:17 -04:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Eliot Horowitz
d36aae49b1 better boost assert 2010-06-11 14:46:33 -04:00
Mathias Stearn
d060bfb595 convert massert and uassert back to macros 2010-05-14 13:34:50 -04:00
Eliot Horowitz
125940bd3b debugging for weird repl issue 2010-05-14 11:18:48 -04:00
Eliot Horowitz
0edfb44bbf better assert string() 2010-05-11 15:18:07 -04:00
Eliot Horowitz
791386affe oplog debugging 2010-04-28 22:13:38 -04:00
Eliot Horowitz
be8ca3a191 uassert option for richer messages and better logging for geo issues 2010-04-28 10:57:18 -04:00
Eliot Horowitz
ef571d995f cleaning socket error logging and move demangleName to global location 2010-04-26 12:14:14 -04:00
Dwight Merriman
66039bd827 less defines - use inlines instead. uassert etc. 2010-04-24 14:23:25 -04:00
Mathias Stearn
036a302e38 Macro smashing. Also sequester lower-case null to ntservice.cpp 2010-04-23 21:07:59 -04:00
Mathias Stearn
4f4dd053aa Get rid of xassert 2010-04-23 20:14:37 -04:00
Mathias Stearn
0638bbfee2 replace pragmas push_macro and pop_macro SERVER-1042 2010-04-23 20:14:37 -04:00
Mathias Stearn
ae303a06c5 Remove yassert 2010-04-23 20:11:54 -04:00
Dwight
ca84dc6bb1 cleaning 2010-04-22 18:43:37 -04:00
Aaron
c971842a55 Revert "Revert "SERVER-695 don't destroy static global mutexes""
This reverts commit eb7cde3e75.

Conflicts:

	db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
221301072d add # of asserts to serverStatus 2010-02-23 07:51:36 -05:00
Dwight
92e756eabc background index building 2010-02-04 14:25:49 -05:00
Aaron
0131eaf887 Add debugging support for multiple destructors, and some guards to prevent this condition from arising 2010-02-01 15:41:04 -08:00
Eliot Horowitz
5fa0d5e030 better debugging when can't open streams 2010-01-24 21:05:46 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Dwight
0e2a11a69a make lastAssert threadsafe 2009-12-08 14:34:09 -05:00
Eliot Horowitz
63fa175a9b better failure message 2009-11-17 10:17:07 -08:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
e6069e40d9 make assert use mongo::asserted so it'll work even with out using namepsace SERVER-289 2009-10-08 16:35:15 -04:00
Eliot Horowitz
e481e6385a fix relative include SERVER-242 2009-08-19 05:27:20 -04:00
alanw
6d446d4e6d Fixed unix compile error 2009-06-04 22:58:08 +01:00
alanw
3224ad222a Moved implementation code from stdafx to correct pre-compiled headers 2009-06-04 12:25:58 +01:00