0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

730 Commits

Author SHA1 Message Date
Mathias Stearn
59de6c4b38 move hex::val to util/hex.h and rename to fromHex 2010-03-03 21:49:50 -05:00
Eliot Horowitz
0a82362581 fix mm option 2010-03-03 17:23:37 -05:00
Aaron
246109cc18 SERVER-652 simplify field name upper limit check, guard against setting string fields in arrays 2010-03-02 13:16:20 -08:00
Aaron
bbbe0aaf31 SERVER-652 process array elements in correct order 2010-03-02 12:29:54 -08:00
Eliot Horowitz
3e36fa8fd4 defensive MINOR 2010-02-26 14:42:11 -05:00
Eliot Horowitz
c3f07f3be0 some missing operators 2010-02-26 12:07:46 -05:00
Eliot Horowitz
066b8376cf thread safe string 2010-02-26 11:33:20 -05:00
Dwight
32c065676e Merge branch 'master' of git@github.com:mongodb/mongo 2010-02-23 11:06:53 -05:00
Dwight
eb75c9529f comments 2010-02-23 11:06:26 -05:00
Eliot Horowitz
221301072d add # of asserts to serverStatus 2010-02-23 07:51:36 -05:00
Eliot Horowitz
267056081f don't waste so much memory for small collections 2010-02-20 17:37:12 -05:00
Eliot Horowitz
5383659f5e use re-usable fast array for sorting in memory
30-70% faster SERVER-651
2010-02-20 16:35:26 -05:00
Eliot Horowitz
9c8858d85a printMemInfo helper, fix darwin virtual size reporting 2010-02-20 16:16:17 -05:00
Mathias Stearn
0bf045c2e1 remove some manual free()s and mixed new/free() 2010-02-12 22:17:31 -05:00
Mathias Stearn
d87a129357 delete unneeded code MINOR 2010-02-12 22:17:30 -05:00
Mike Dirolf
c468109cbe include body in httpclient POSTs 2010-02-12 14:19:57 -05:00
Eliot Horowitz
2f406ce762 test for http interface 2010-02-12 11:33:07 -05:00
Eliot Horowitz
a4e79e80c2 make sure to use flags for all send/recv ops 2010-02-12 11:07:57 -05:00
Mathias Stearn
72f8e1ae73 fix opToString MINOR 2010-02-11 13:50:34 -05:00
Eliot Horowitz
12a8eee52c use table in web console for clarity 2010-02-09 10:35:31 -05:00
Eliot Horowitz
ddd617b35a don't try and accept sockets after socket is closed 2010-02-07 15:41:52 -05:00
Eliot Horowitz
ae5e03de12 fix madvise if 2010-02-04 21:32:38 -05:00
Eliot Horowitz
1916d9347a Merge branch 'master' of git@github.com:mongodb/mongo 2010-02-04 17:24:33 -05:00
Eliot Horowitz
caadcee6f9 ifdef madvise 2010-02-04 17:24:22 -05:00
Dwight
87d7f0a48f compile win 2010-02-04 17:17:09 -05:00
Eliot Horowitz
424e7d9585 sequential option for mmap SERVER-607 2010-02-04 17:12:14 -05:00
Dwight
1aad70190a Merge branch 'master' of git@github.com:mongodb/mongo 2010-02-04 15:46:34 -05:00
Dwight
92e756eabc background index building 2010-02-04 14:25:49 -05:00
Eliot Horowitz
c39b3ddb54 make allocation handle smaller os buffers 2010-02-04 12:07:33 -05:00
Eliot Horowitz
f7901fdc2c better errno reporting 2010-02-04 10:59:13 -05:00
Eliot Horowitz
62f47cc910 cleaning up security - moving to centralized location 2010-02-04 10:49:19 -05:00
Mathias Stearn
18404274b5 Fix bug in StringBuilder::str()
Old code would implicitly convert the first arg to a string before explicitly
calling the 3-arg constructor. The implicit conversion would fail if the buffer
wasn't NUL terminated.
2010-02-02 18:06:47 -05:00
Aaron
7b2d93d070 Merge branch 'master' of github.com:mongodb/mongo 2010-02-02 09:48:59 -08: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
4f8d71b475 move util/top to db/stats/top 2010-02-01 10:47:28 -05:00
Mathias Stearn
cf92a4b67b only launch gdbserver if compiled with --gdbserver 2010-01-29 14:24:26 -05:00
Mathias Stearn
58e7807a9b size_t <-> int changes to fix win64 warnings 2010-01-28 17:33:33 -05:00
Eliot Horowitz
a65e789e1a final darwing fix MINOR 2010-01-28 15:16:22 -05:00
Eliot Horowitz
51a99bbce0 dawrin MINOR 2010-01-28 15:06:02 -05:00
Eliot Horowitz
4008f94cfc darwin compile MINOR 2010-01-28 14:58:23 -05:00
Eliot Horowitz
62ab3d3261 win compile MINOR 2010-01-28 14:20:18 -05:00
Eliot Horowitz
efe264364e add checking to see if a page is in memory to ProcessInfo 2010-01-28 14:14:33 -05:00
Aaron
1666a6507e disable backtrace scan on freebsd 2010-01-26 10:22:25 -08:00
Dwight
60c2a79e9c don't use asio for mongos with win vcproj yet 2010-01-26 12:19:14 -05:00
Mathias Stearn
8a31ed49aa Fix AtomicUInt for old GCC 2010-01-25 22:03:14 -05:00
Mathias Stearn
70b7968668 Pulling atomic functionality from WrappingInt to AtomicUInt. More atomic functions. 2010-01-25 19:33:10 -05:00
Mathias Stearn
4548ba59c9 mongos async: use StickyThreads. 2010-01-25 16:26:03 -05:00
Mathias Stearn
7eb1d29f1b mongos async: use two IO threads 2010-01-25 16:26:03 -05:00
Mathias Stearn
ab09697687 mongos async: cache remote port 2010-01-25 16:26:03 -05:00
Aaron
16d1616853 SERVER-541 make file allocation start log more precise 2010-01-25 12:11:08 -08:00
Eliot Horowitz
5fa0d5e030 better debugging when can't open streams 2010-01-24 21:05:46 -05:00
dwight
05d80f56d8 don't assert in rawout 2010-01-24 11:05:45 -05:00
Dwight
a5a7815936 inspect NamespaceDetails on load 2010-01-21 13:40:18 -05:00
Eliot Horowitz
693b5980dc fix hashtable so that deleted entries don't prevent finding later chained entries SERVER-553 2010-01-19 10:58:35 -05:00
Eliot Horowitz
b7b8ac1a43 compile fix for windows SERVER-551 2010-01-19 10:09:13 -05:00
Eliot Horowitz
069d9e9c3c catch exceptions in webserver SERVER-551 2010-01-19 10:01:15 -05:00
Mathias Stearn
4ea9dde3fb Provide extra info with db.serverStatus() 2010-01-15 17:55:41 -05:00
Dwight
95ba1b843e elim warning on windows 2010-01-15 17:16:17 -05:00
Mathias Stearn
42ec730af2 Better VirtualMemorySize on windows 2010-01-15 16:59:39 -05:00
Eliot Horowitz
e33f6fc92f Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-15 16:11:08 -05:00
Eliot Horowitz
4539b8e7c5 iterall for HashTable 2010-01-15 16:11:00 -05:00
Dwight
cf91f7211a Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-15 16:05:39 -05:00
Dwight
2628d0213a refactor and clean up some index building code
no longer allow two indexes with same key pattern (with diff names)
2010-01-15 16:05:14 -05:00
Mathias Stearn
32acd37d75 fix uninitialized length for MemoryMapFile on windows. 2010-01-15 15:31:51 -05:00
Dwight
3f6cb1fdcd browser error msg 2010-01-15 12:52:07 -05:00
Eliot Horowitz
d309bc1b09 use boost sleep on sunos SERVER-548 2010-01-15 08:07:33 -05:00
Eliot Horowitz
eab3b5f06e use nanosleep on *nix rather than boost, trying to fix os x issue SERVER-539 2010-01-14 15:35:29 -05:00
Eliot Horowitz
a0b4be402d fix --logappend SERVER-543 2010-01-14 00:08:41 -05:00
Mathias Stearn
8c86bf3456 fix race condition 2010-01-12 13:22:31 -05:00
Mathias Stearn
494d9678b9 Fix race condition. SERVER-532 2010-01-12 13:17:16 -05:00
Aaron
903fb03381 Merge branch 'master' of github.com:mongodb/mongo 2010-01-11 18:20:27 -08:00
Aaron
530c24aa55 MINOR print conflicting port in bind failure log 2010-01-11 18:18:06 -08:00
Mathias Stearn
00b731fa0b finished threads go to front of line (faster) 2010-01-11 20:47:22 -05:00
Aaron
d377e7ad99 SERVER-228 assert rather than exit when run out of disk space 2010-01-11 11:24:20 -08:00
Eliot Horowitz
cfdca85934 try to fix win64 memory take 3 SERVER-528 2010-01-11 06:44:00 -05:00
Eliot Horowitz
e011523b20 try to fix win64 memory take 2 SERVER-528 2010-01-11 06:38:16 -05:00
Eliot Horowitz
721588bd26 try to fix win64 memory SERVER-528 2010-01-11 06:27:52 -05:00
Eliot Horowitz
b490e0a4ab make mem info work on win32 SERVER-528 2010-01-10 20:22:17 -05:00
Eliot Horowitz
ce00f71bd4 log() space MINOR 2010-01-10 02:20:37 +01:00
Eliot Horowitz
2d35a54b16 cleaning up listening thread shutdown 2010-01-09 02:58:12 +01:00
Dwight
63c26a96bd SERVER-521 cursor may be deleted while in getMore 2010-01-06 13:39:57 -05:00
Eliot Horowitz
bf939ef985 help people trying to access http on driver port 2010-01-02 21:41:35 -05:00
Eliot Horowitz
d1b20f280b append char fix 2010-01-02 17:02:45 -05:00
unknown
84d1ca75f7 SERVER-255 lock on fsync for snapshotting
will be doc'd later today
2010-01-02 11:01:47 -05:00
Dwight
b88f54e219 compile windows (vcproj) 2009-12-30 11:59:54 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
ac84841e63 first checking of simple/fast resettable StringBuilder 2009-12-29 17:32:31 -05:00
Eliot Horowitz
2dcb747bac option to limit # of connections (threads currently) default 20000 SERVER-471 2009-12-29 14:09:53 -05:00
Eliot Horowitz
315995b8c7 better debugging for weird mmap issue 2009-12-28 17:46: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
2390b483bc some additions to Timer 2009-12-27 00:41:30 -05:00
Eliot Horowitz
8a53ffb05c more Top cleaning 2009-12-25 23:24:37 -05:00
Eliot Horowitz
57137d6aca some Top refactoring 2009-12-25 22:06:07 -05:00
Mathias Stearn
c7587eac0b Removing unused header 2009-12-23 16:10:58 -05:00
Eliot Horowitz
16b07128f3 fail faster on bad mmap data 2009-12-23 15:55:07 -05:00
Eliot Horowitz
34ce721624 Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-23 15:30:25 -05:00
Eliot Horowitz
503473112d when loading js files, only get read access 2009-12-23 15:28:53 -05:00
Mathias Stearn
8c89428182 ASIO mongos now uses a threadpool for database operations.
Networking is done in a single thread outside of the pool.
2009-12-23 12:12:39 -05:00
Dwight
15535d0906 compile windows / vcproj 2009-12-22 16:42:49 -05:00
Mathias Stearn
a871f11644 Thread pool 2009-12-22 12:15:52 -05:00
Mathias Stearn
507622d302 Non-blocking tryPut and tryTake 2009-12-22 12:13:58 -05:00
Mathias Stearn
6da4e77c1a use enum for MVar state 2009-12-22 12:13:58 -05:00
Eliot Horowitz
bbd33359d9 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	util/mmap_posix.cpp
2009-12-21 10:06:52 -05:00
Eliot Horowitz
8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Eliot Horowitz
9935b7904b nicer error message 2009-12-20 07:19:48 -05:00
Dwight
9a7f5fb2d0 comment 2009-12-18 17:47:40 -05:00
Mathias Stearn
ee53e7ec8b MVar synchronization primitive 2009-12-16 14:38:05 -05:00
Mathias Stearn
82ff909758 readability 2009-12-14 17:06:10 -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
Mathias Stearn
290694e153 My favorite debugging macros 2009-12-11 14:29:10 -05:00
Mathias Stearn
f64ec0964a Silence warnings 2009-12-09 15:02:42 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -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
Eliot Horowitz
d6c69369c0 make quiet suppress connection warnings SERVER-455 2009-12-03 22:44:34 -05:00
Dwight
48217c0650 some mongomutex cleanup 2009-12-03 13:48:45 -05:00
Mathias Stearn
f610e9f657 __MSVC__ -> _WIN32 2009-12-02 12:53:48 -05:00
Mathias Stearn
01d596cfe4 typo: MSCV -> MSVC 2009-12-02 12:33:14 -05:00
Mathias Stearn
f5c9a86b92 Atomic increment (try 3) 2009-12-02 12:17:47 -05:00
Mathias Stearn
c0e79bf1d4 removing atomic increment for now 2009-12-01 20:25:48 -05:00
Mathias Stearn
31723f3d28 working atomic increment 2009-12-01 20:08:34 -05:00
Mathias Stearn
7133196d6b Make OID and MSGID increments atomic 2009-12-01 19:29:08 -05:00
Eliot Horowitz
7564ceb774 better 32-bit error message 2009-12-01 16:48:40 -05:00
Eliot Horowitz
c72e870657 debugging for SHARDING-40 and SERVER-440 2009-12-01 12:25:48 -05:00
Dwight
25bb636eb4 some initial visual studio 2010 support 2009-11-30 12:09:39 -05:00
Eliot Horowitz
d7280381df some threadsafety on memory mapped file static methods 2009-11-30 10:52:02 -05:00
Eliot Horowitz
314d24240c cleaning 2009-11-24 15:42:52 -05:00
Eliot Horowitz
0f5848f398 better message debugging 2009-11-24 13:55:46 -05:00
Eliot Horowitz
d51dce22b3 fix SockAddr::toString 2009-11-24 13:38:57 -05:00
Eliot Horowitz
07821d91c3 Timer::seconds 2009-11-19 11:19:40 -05:00
Eliot Horowitz
63fa175a9b better failure message 2009-11-17 10:17:07 -08:00
Mathias Stearn
df71e4dcdc match free to malloc 2009-11-14 22:11:15 -05:00
Eliot Horowitz
f9d031f12c fsync command part of SERVER-255 2009-11-11 13:41:45 -05:00
Eliot Horowitz
9f77794640 MemoryMappedFile::flushAll 2009-11-11 13:02:04 -05:00
Eliot Horowitz
37baf952b8 sleepmicros 2009-11-03 22:53:18 -05:00
Mathias Stearn
80edd9e5cf Pull launchGDB out to debug_util.cpp 2009-11-03 16:39:55 -05:00
Mathias Stearn
39a66ce531 Remove debugging couts 2009-11-03 01:56:40 -05:00
Mathias Stearn
526e514bff assert and massert now trigger breakpoint() 2009-11-02 18:56:29 -05:00
Mathias Stearn
bf2467973f Make breakpoint() safe to call anywhere. 2009-11-02 18:56:29 -05:00
Mathias Stearn
d7c527d437 pull EmbeddedBuilder to its own file 2009-11-02 13:32:20 -05:00
Mathias Stearn
9ecceafbca Add breakpoint functions (*nix only) 2009-11-01 23:29:20 -05:00
Dwight
a03aecb988 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-28 13:41:06 -04:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Dwight
31a1b75aa3 slightly better error message when problem opening files 2009-10-27 14:25:45 -04:00
Eliot Horowitz
52333b5e73 cute hack so log() works before startup is finished 2009-10-21 16:40:31 -04:00
Dwight
a606c7a6b8 cleanup/prep for # of indexes work 2009-10-19 16:53:58 -04:00
metagoto
14cd7183e6 quick fix for global namespace pollution (mostly client) 2009-10-18 09:39:08 +08: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
e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -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
Dwight
5696d65d83 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-15 16:47:48 -04:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
Eliot Horowitz
98d994eb51 get rid of warning in linux process info thing 2009-10-15 16:19:25 -04:00
Mathias Stearn
0abfa82d54 GCC4.4 doesn't like char array subscripts 2009-10-15 16:14:20 -04:00
Dwight
06aa85b12e this not good with unit test 2009-10-14 16:34:25 -04:00
Dwight
ddcf5eeb32 refactor a little 2009-10-14 16:29:32 -04:00
Dwight
c43df1e575 make Top threadsafe 2009-10-14 15:48:13 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
1083a425c2 ThreadLocalInt prettier 2009-10-13 12:55:23 -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
a54742b3de make mongoimportjson not crash with small objects, some ProgressMeter enhancements SERVER-342 2009-10-08 10:11:26 -04:00
Eliot Horowitz
9e7a31fae1 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	db/dbcommands.cpp
2009-10-07 12:46:02 -04:00
Eliot Horowitz
b733978054 MemoryMappedFile::getTotalMapped 2009-10-07 12:42:43 -04:00
Dwight
9589c84edf killOp() wasn't working with validate 2009-10-07 11:51:13 -04:00
Dwight
0c9212038d small cleanups 2009-10-06 16:17:11 -04:00
Eliot Horowitz
727fc307f9 more verbose shutdown logging to try and figure out why shutdown is very slow sometimes 2009-10-05 15:09:52 -04:00
Eliot Horowitz
27fd0a7a9f more ProgressMeter to public place 2009-10-05 15:09:18 -04:00
Eliot Horowitz
86e9a31716 better debugging for assertions 2009-10-01 10:41:15 -04:00
Eliot Horowitz
9c83a9e08c win compile 2009-10-01 10:12:16 -04:00
Eliot Horowitz
1f622ad076 finish getting rid of boost base64 2009-10-01 09:49:17 -04:00
Eliot Horowitz
1bb3d4a004 fix base64 issue 2009-10-01 01:26:19 -04:00
Eliot Horowitz
f7bfd1192c base64 decode 2009-09-30 23:32:28 -04:00
Eliot Horowitz
fdd776a50a simple base64::encode 2009-09-30 23:08:33 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Eliot Horowitz
4fc1b55e0d cleaning MINOR 2009-09-21 20:32:17 -04:00
Dwight
6bbaf0fdc3 better unit tests for unique indexes and dropDup : true on indexing 2009-09-21 16:31:00 -04:00
Dwight
71af757e56 use posix_fadvise when we populate a new datafile 2009-09-21 10:05:03 -04:00
Eliot Horowitz
18b1091e01 remotePort 2009-09-17 15:19:57 -04:00
Eliot Horowitz
5738f9158d make easier to compile things on windows MINOR 2009-09-16 16:01:07 -04:00
Eliot Horowitz
7d88c583cf fix warning on *nix 2009-09-16 15:42:42 -04:00
Eliot Horowitz
e6333cafc5 make timer use 64-bits SERVER-249 2009-09-16 15:42:26 -04:00
Eliot Horowitz
4df046f5b0 getClientId() 2009-09-14 11:33:35 -04:00
Eliot Horowitz
335d92c443 client id work and make getLastError work non sharded-collections in sharding, but with connection pooling SHARDING-16 2009-09-11 16:14:14 -04:00
Eliot Horowitz
378356ccbc make lastError able to work with ids, rather than just tl 2009-09-11 11:56:57 -04:00
Eliot Horowitz
0d399715ac include cleaning 2009-09-09 13:38:58 -04:00
dwight
b8d458bfec improve how we handle concurrency with logging 2009-09-03 15:16:04 -04:00
dwight
e58c6eaf7f Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	util/log.h
2009-09-03 15:01:42 -04:00
dwight
93f07dbc7d interim ocmmit of new logging stuff 2009-09-03 14:58:05 -04:00
Eliot Horowitz
cf46ccabe4 fix logstream and shared_ptr 2009-09-03 13:37:20 -04:00
dwight
2470913c70 change to NullStream 2009-09-03 13:11:30 -04:00
Dwight
3dbc214789 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 10:31:31 -04:00
Dwight
8de1e62a37 minor comments 2009-09-01 10:31:12 -04:00
Eliot Horowitz
e277dffe54 remove c depends 2009-08-28 11:57:09 -04:00
Eliot Horowitz
7a1a7fe021 some solaris fixes 2009-08-28 11:50:20 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Eliot Horowitz
7e0ffc7517 fix windows mmap 2009-08-20 17:02:11 -04:00
dwight
c0994c6b3a get rid of warning 2009-08-20 15:28:04 -04:00
Eliot Horowitz
e481e6385a fix relative include SERVER-242 2009-08-19 05:27:20 -04:00
Eliot Horowitz
3c651482c4 shared_ptr support for log() 2009-08-17 10:46:19 -04:00
Dwight
e6258aaa47 Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-13 12:28:48 -04:00
Dwight
02959549f2 elim warning windows 2009-08-13 12:28:30 -04:00
Eliot Horowitz
7b9da727ba compile on 10.4 SERVER-231 2009-08-12 14:54:53 -04:00
Eliot Horowitz
f04c0ab0fc don't lookup unknown address MINOR 2009-08-10 12:28:04 -04:00
Eliot Horowitz
7cadc27b27 make binding to an address work SERVER-220 2009-08-10 10:37:56 -04:00
Eliot Horowitz
11d8ba65b5 windows compile MINOR 2009-08-07 15:43:31 -04:00
Eliot Horowitz
94ab9811a6 newline MINOR 2009-08-05 17:01:33 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Eliot Horowitz
846911b421 add connection number to accepted message 2009-08-04 14:00:59 -04:00
Aaron Staple
7fd282b989 Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-30 03:22:18 -04:00
Aaron Staple
5dcdc3a59c fast collection renaming within a database 2009-07-29 15:53:14 -04:00
Eliot Horowitz
3cc17c8c5f 64-bit windows build just about working 2009-07-27 13:50:25 -04:00
Eliot Horowitz
a62f1b40ba Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-24 14:28:16 -04:00
Eliot Horowitz
6e3a37e594 moving some includes around 2009-07-24 14:28:05 -04:00
Eliot Horowitz
956fd780e2 fix linux compile MINOR 2009-07-24 11:01:04 -04:00
Dwight
7783c0b8fa compile windows 2009-07-20 12:42:06 -04:00
Eliot Horowitz
45f29d0123 beginnings of mms client 2009-07-17 15:49:24 -04:00
Eliot Horowitz
b47dcb9a82 windows compile MINOR 2009-07-09 17:00:59 -04:00
Eliot Horowitz
bd018f61d5 long instead of int for file size 2009-07-09 16:56:34 -04:00
Eliot Horowitz
4a71c33456 fix for filters not returning objects without those fields 2009-06-22 15:30:41 -04:00
Eliot Horowitz
62d7cb5961 spacing MINOR 2009-06-09 15:24:09 -04:00
Eliot Horowitz
905f018510 Merge commit 'alanw/master'
Conflicts:

	db/db.cpp
	msvc/server_only/server_only.vcproj
	stdafx.cpp
	util/log.h
2009-06-08 14:15:15 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
alanw
6d446d4e6d Fixed unix compile error 2009-06-04 22:58:08 +01:00
Dwight
56b2d01f36 better error detection when max namespaces reached 2009-06-04 12:05:40 -04:00
alanw
c9c9dc5b03 Added support for running mongod as a Windows NT Service
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-04 20:55:33 +08:00
alanw
3224ad222a Moved implementation code from stdafx to correct pre-compiled headers 2009-06-04 12:25:58 +01:00
alanw
ad297c79c7 Added support for running mongod as a Windows NT Service 2009-06-04 11:26:15 +01:00
Dwight
4a64d52c9c BUG SERVER-79
ports variable wasn't thread safe
2009-06-01 14:20:49 -04:00
Aaron
6a2a8d385f comments MINOR 2009-05-28 15:22:24 -04:00
Dwight
18285e76de Windows:
db->mongod in vcproj
suppress a couple warnings
2009-05-28 13:16:23 -04:00
Aaron
c03a7186cf file allocator compile windows MINOR 2009-05-28 12:59:27 -04:00
Aaron
83be71666f wait for file allocator to finish before removing files 2009-05-27 17:23:47 -04:00
Aaron
f2920fa2a8 sm encoding checkpoint 2009-05-27 14:31:23 -04:00
Aaron
8d50601341 Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-27 11:20:35 -04:00
Eliot Horowitz
b8c3d46986 support compilation under FreeBSD 7.x
merged from goosmurf
Conflicts:

	README
2009-05-27 10:44:45 -04:00
Aaron
9333c5e06f sm encoding checkpoint 2009-05-26 18:33:25 -04:00
Aaron
b59f70aab3 don't print namespaces ending in dot from dbtop MINOR 2009-05-26 17:34:05 -04:00
Aaron
0b9432e6b9 sm encoding checkpoint 2009-05-26 16:04:07 -04:00
Aaron
80502a3fdb never destroy log or background job mutexes, as they generated assertions on destruction in testing 2009-05-21 18:20:07 -04:00
Aaron
b039c1f219 add reads/writes to dbtop 2009-05-18 18:17:27 -04:00
Aaron
f79e2e6b15 disable http interface authentication for localhost 2009-05-13 12:28:59 -04:00
Aaron
b7c67bbf4a check exception when cleaning up file on failed allocation MINOR 2009-05-12 14:27:23 -04:00
Aaron
f2b9332f97 when exhaust disk space, delete file and exit immediately 2009-05-12 13:38:33 -04:00
Aaron
9adf110885 clean up locking in file allocator; unlike in doc example, lock may be held when notification sent 2009-05-12 12:18:43 -04:00
Aaron
6ea9c81aa3 DBDirectClient uses main db mutex recursively and preserves database context 2009-05-06 11:32:48 -04:00
Aaron
661bce250b inclode strerror in recv error message MINOR 2009-05-04 11:17:26 -04:00
Aaron
7d720f1f33 add 'bind_ip' option to bind listener only to requested local interface 2009-04-29 14:14:51 -04:00
Aaron
532e369024 Revert "Revert "use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness""
This reverts commit ce91c67c40.
2009-04-28 10:11:39 -04:00
Aaron Staple
ce91c67c40 Revert "use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness"
This reverts commit cc3887c864.
2009-04-27 16:51:35 -07:00
Aaron
cc3887c864 use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness 2009-04-27 19:12:32 -04:00
Aaron
d03996bf98 fix compiler warning MINOR 2009-04-24 15:15:52 -04:00
Aaron
7088413cf3 optime separate file 2009-04-23 18:02:51 -04:00
Aaron
63cc171bbb tests for db and mem based id sets 2009-04-23 18:01:24 -04:00
Aaron
64c5d55c59 don't seg fault when run out of disk space 2009-04-23 11:16:54 -04:00
Eliot Horowitz
f6e6428436 clean asio shutdown 2009-04-20 23:31:26 -04:00
Aaron
98522371c4 make old boost happy MINOR 2009-04-17 17:41:07 -04:00
Aaron
20cfef650c listener handle closed socket MINOR 2009-04-17 17:39:31 -04:00
Eliot Horowitz
425f6eef49 simple blocking queue 2009-04-17 17:07:04 -04:00
Aaron
56e2e866bd hopefully compile win 2009-04-16 10:33:21 -04:00
Dwight
3fce2036d8 compile visual studio windows 2009-04-16 09:16:43 -04:00
Aaron
f86d33372d update size in map and allocate asap interfaces 2009-04-15 16:11:54 -04:00
Aaron
ab078d2e96 Revert "Revert "add errno header for non osx MINOR""
This reverts commit ae473981f5.
2009-04-15 16:10:54 -04:00
Aaron
a8abf5e6ef Revert "Revert "fix compile warning, rename condition_variable -> condition to make old boost happy MINOR""
This reverts commit 836e92e7dd.
2009-04-15 16:10:48 -04:00
Aaron
9e6d8a769d Revert "Revert "abort allocation on failed write""
This reverts commit 9ccebf3f4c.
2009-04-15 16:10:41 -04:00
Aaron
e8c1ce4dc1 Revert "Revert "do preallocation after initial allocation too, make file allocator interface more flexible""
This reverts commit 668cf57c52.
2009-04-15 16:10:34 -04:00
Aaron
c99883578c Revert "Revert "allocate files in background""
This reverts commit e577a2c64e.
2009-04-15 16:10:21 -04:00
Aaron
e577a2c64e Revert "allocate files in background"
This reverts commit 0033bd91df.
2009-04-15 15:40:16 -04:00
Aaron
668cf57c52 Revert "do preallocation after initial allocation too, make file allocator interface more flexible"
This reverts commit 5d9cb32605.
2009-04-15 15:39:57 -04:00
Aaron
9ccebf3f4c Revert "abort allocation on failed write"
This reverts commit c511cb6139.
2009-04-15 15:39:49 -04:00
Aaron
836e92e7dd Revert "fix compile warning, rename condition_variable -> condition to make old boost happy MINOR"
This reverts commit 5dde63de12.
2009-04-15 15:39:28 -04:00
Aaron
ae473981f5 Revert "add errno header for non osx MINOR"
This reverts commit 170106ace9.
2009-04-15 15:39:15 -04:00
Aaron
170106ace9 add errno header for non osx MINOR 2009-04-15 15:28:04 -04:00
Aaron
5dde63de12 fix compile warning, rename condition_variable -> condition to make old boost happy MINOR 2009-04-15 15:23:47 -04:00
Aaron
c511cb6139 abort allocation on failed write 2009-04-15 15:00:15 -04:00
Aaron
5d9cb32605 do preallocation after initial allocation too, make file allocator interface more flexible 2009-04-15 14:57:37 -04:00
Aaron
0033bd91df allocate files in background 2009-04-15 11:58:38 -04:00
Aaron
8ac9b466f7 printStackTrace don't leave stream in hex mode MINOR 2009-04-10 11:53:47 -04:00
Aaron
aa5309a68b print error description, test timeout MINOR 2009-04-06 16:21:56 -04:00
Aaron
80c3078d1a fix sleepmillis 2009-04-03 15:34:44 -04:00
Eliot Horowitz
d20f1d0f62 solaris fix 2009-04-02 17:06:01 -04:00
Aaron
ed35b0874c Close listener sockets on exit 2009-04-01 12:26:31 -04:00
Aaron
59d34a2832 Validate length of allocated file 2009-04-01 10:51:55 -04:00
Aaron
892296218a Validate length of allocated file 2009-04-01 10:50:31 -04:00
Aaron
e5a43008fd Build a subobject without recopying the contents 2009-03-25 18:24:22 -04:00
Aaron
d0520ccafb Use string instead of char * in client code 2009-03-24 16:58:33 -04:00
Aaron
87fc8adf10 Remove unnecessary include 2009-03-20 14:50:11 -04:00
Aaron
f0e25020b2 Reduce dbtop performance hit 2009-03-20 14:30:56 -04:00
Eliot Horowitz
46dddab48a fix : -> _ conversion on windows 2009-03-19 08:36:24 -04:00
Eliot Horowitz
df4a8dbf55 doesOpGetAResponse 2009-03-17 17:24:38 -04:00
Aaron
b936cb2c97 objcheck validates every bson object read from a message 2009-03-13 12:07:00 -04:00
Dwight
a039cf7ec7 compile windows 2009-03-03 16:06:57 -05:00
Aaron
c8c7ae441e Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-02 16:51:53 -05:00
Aaron
53e0287027 Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-02 16:49:27 -05:00