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

506 Commits

Author SHA1 Message Date
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