Commit Graph

50 Commits

Author SHA1 Message Date
dwight
c72fb702dc rate limit logging of wassert 2011-08-02 02:38:02 -04:00
dwight
fb8b893665 make journaling the default on 64 bit 2011-07-31 08:36:46 -04:00
Dwight
9bbe38a24c dont inline asserts. might matter with global optimizers. 2011-06-27 18:56:09 -04:00
Eliot Horowitz
510347df13 add verify( <code> , <test> ) SERVER-1259 2011-05-29 22:19:59 -04:00
dwight
923660edbb helper mongo::ErrorMsg class that builds error strings. lighter weight than a StringBuilder, albeit less flexible. 2011-05-23 20:03:06 -04:00
Eliot Horowitz
c665d0a406 show user asserts in verbose mode 2011-05-22 01:11:03 -04:00
dwight
41675f5f39 abort _DEBUG on wasserts, they arent supposed to happen 2011-03-29 07:54:57 -04:00
dwight
64359fbbf6 on an unnumbered assertion (not an massert or uassert), abort() if it
is a test build (_DEBUG etc.)  this way we are more likely to notice
something wrong in buildbot.
2011-03-22 00:52:34 -04:00
Eliot Horowitz
2e7514262a make wassert say warning SERVER-2736 2011-03-17 11:56:38 -04:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
c5f3d8fb82 get rid of lastAssert and assertinfo command 2010-11-09 10:54:32 -05:00
dwight
4f1b0c3f85 header was included but doesnt seem to be used 2010-11-06 15:50:35 -04:00
Eliot Horowitz
357cb2918e move logging cpp code into log.cpp 2010-07-24 12:40:07 -04:00
Mathias Stearn
d0662fd523 Rejiggering of log file handling. should solve SERVER-733 2010-07-15 20:31:40 -04:00
dwight
a38bc950bd compile (windows) 2010-06-22 00:26:08 +02:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Aaron
4a91c2c8b2 Merge branch 'master' of github.com:mongodb/mongo 2010-05-25 22:03:07 -07:00
Aaron
b9010af418 maybe compile solaris 2010-05-25 22:02:47 -07:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Dwight
c830be1477 log less during unit tests 2010-05-19 12:11:17 -04:00
Dwight Merriman
0f9f517058 cleaner error / uassert logging 2010-05-15 18:48:13 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -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
8fb9289813 bson cleaning 2010-04-25 17:48:49 -04:00
Dwight Merriman
66039bd827 less defines - use inlines instead. uassert etc. 2010-04-24 14:23:25 -04:00
Dwight Merriman
0c7e5438e0 get rid of macros in log.h 2010-04-24 14:03:14 -04:00
Dwight
ca84dc6bb1 cleaning 2010-04-22 18:43:37 -04:00
Eliot Horowitz
e2db25b854 close test fd SERVER-1023 2010-04-14 16:37:29 -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
Eliot Horowitz
f7901fdc2c better errno reporting 2010-02-04 10:59:13 -05:00
Eliot Horowitz
5fa0d5e030 better debugging when can't open streams 2010-01-24 21:05:46 -05:00
Eliot Horowitz
a0b4be402d fix --logappend SERVER-543 2010-01-14 00:08:41 -05:00
Eliot Horowitz
d5a5401f9a use code in getLastError SERVER-112 2009-12-28 17:12:49 -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
Eliot Horowitz
eed9fe77cd win compile 2009-12-14 09:56:24 -05:00
Eliot Horowitz
0196d8c583 better handling of invalid logpath setting SERVER-482 2009-12-14 09:51:06 -05:00
Dwight
0e2a11a69a make lastAssert threadsafe 2009-12-08 14:34:09 -05:00
Eliot Horowitz
066236ad58 debugging 2009-12-06 01:01:07 -05:00
Eliot Horowitz
856ebf9127 make msgassert print stack trace - maybe get rid of, not sure 2009-12-06 00:41:02 -05:00
Mathias Stearn
526e514bff assert and massert now trigger breakpoint() 2009-11-02 18:56:29 -05: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
e401ac9c35 win32 fix 2009-10-16 12:54:31 -04:00
Eliot Horowitz
d8235205f5 log rotation with USR1 signal SERVER-358 2009-10-16 12:46:06 -04:00
Eliot Horowitz
543ce2b8a5 clean logpath code 2009-10-16 11:31:49 -04:00
Eliot Horowitz
166c722630 make logpath use FILE/fopen instead of open - should work on windows SERVER-339 2009-10-16 10:56:15 -04:00
Eliot Horowitz
86e9a31716 better debugging for assertions 2009-10-01 10:41:15 -04:00
Eliot Horowitz
94ab9811a6 newline MINOR 2009-08-05 17:01:33 -04:00
alanw
3224ad222a Moved implementation code from stdafx to correct pre-compiled headers 2009-06-04 12:25:58 +01:00