Commit Graph

79 Commits

Author SHA1 Message Date
Eliot Horowitz
5fafbffa27 don't use lazy on connection types where it can't work 2011-08-03 11:05:31 -04:00
Eliot Horowitz
68e0ade105 fix connection pooling with socket timeouts 2011-07-12 13:48:20 -04:00
gregs
884e100ec0 better logic for no-result in rs for parallel ops SERVER-2481 2011-06-16 17:34:40 -04:00
Dwight
fb3fac3dff use _WIN32, not WIN32 2011-05-11 11:45:47 -04:00
Eliot Horowitz
90e5a91851 use 0.0.0.0:0 for DBDirectClient like we used to 2011-04-05 08:26:35 -04:00
Eliot Horowitz
f9237e3cb6 working towrads unifying network code 2011-04-05 02:24:16 -04:00
Mathias Stearn
e73c3aac9d Dont error out due to lockfile when running with --repair SERVER-1609 2011-04-04 17:32:49 -04:00
dwight
f7692fea1a comment 2011-02-15 15:04:10 -05:00
Eliot Horowitz
471fd7da06 added option paral to call to specify server address where was sent if different 2011-02-05 17:52:36 -05:00
Eliot Horowitz
fd204c99b3 DBDirectClient uses smart count rather than going over message api 2011-01-25 16:19:21 -05:00
Eliot Horowitz
5803871976 remove deprecated msg and unused return for assembleResponse SERVER-1438 2011-01-16 01:03:05 -05:00
U-ACER-6E40E97492\Kristina Chodorow
58ee69ab28 acquirePathLock for Windows SERVER-2339 2011-01-12 18:54:13 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
fba685096f remove isMember since it was ill-formed and only used for an assert 2010-12-18 21:47:22 -05:00
Dwight
0648d61288 move include to top of file from bottom 2010-11-04 09:00:39 -04:00
Dwight
b0821d4e71 comments 2010-10-06 14:09:30 -04:00
Eliot Horowitz
f1a8c6ef54 fix getMore with sharding+rs in edge case SERVER-1584 2010-08-06 13:24:59 -04:00
Eliot Horowitz
67f4da9b32 replaced replica pair connection with basic set version SERVER-1320 2010-07-30 14:30:02 -04:00
Eliot Horowitz
6048738ac9 raw methods for talking to db
fix sync cluster connection getMore
2010-07-21 14:12:32 -04:00
Richard Kreuter
ae79e7aee9 Add a --pidfilepath option, (next step: delete --lockfilepath). SERVER-1411 2010-07-13 18:02:44 -04:00
dwight
2ba9153e95 rs check that there isnt a preexisting oplog at initiation 2010-07-06 22:16:40 -04:00
dwight
f9c5985808 haveDatabases() method 2010-06-26 13:32:35 -04:00
dwight
456d52492b old method 2010-06-26 13:06:03 -04:00
Eliot Horowitz
1113a12a59 don't allow databases with the same name and different casing SERVER-1149 2010-06-15 02:48:09 -04:00
dwight
3f8da3805a towards QueryOption_Exhaust 2010-06-06 15:46:55 -04:00
dwight
a3e03d7fe8 towards QueryOption_exhaust 2010-06-05 22:37:59 -04:00
Eliot Horowitz
e365deea86 clean up cursors SERVER-1167 2010-05-28 14:23:37 -04:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Dwight Merriman
1a27750682 opread doesnt need to be a macro 2010-04-23 19:32:21 -04:00
Mathias Stearn
6378b9da4c Winsock startup at static init 2010-04-08 14:25:06 -04:00
Mathias Stearn
3c53fbaedc Banish sockaddr_in from everywhere except sock.h. prep for SERVER-859 2010-04-02 13:21:27 -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
8158e35cc0 fix diaglog 2010-03-15 12:22:23 -04:00
Eliot Horowitz
ff34ec6348 put diaglog in dbpath rather than cwd 2010-02-03 12:44:50 -05:00
Eliot Horowitz
76ac79734a clean up fix diaglog 2010-02-03 11:06:13 -05:00
Eliot Horowitz
afa43dc8cd get rid of setClient - all Database storage is in Client::Context 2010-01-29 17:22:34 -05:00
Aaron
dcce5e795e SERVER-258 add readOnly auth mode 2010-01-26 17:04:09 -08:00
Eliot Horowitz
2d35a54b16 cleaning up listening thread shutdown 2010-01-09 02:58:12 +01:00
Dwight
e42ea09fd1 fix SERVER-474 2009-12-11 12:41:26 -05:00
Dwight
078c8821d4 locking no longer required on SavedContext - if you had no context to be saved... 2009-12-04 16:45:44 -05:00
Dwight
edfa5eca01 wrap dbtests with a big dblcok - now passes 2009-12-04 12:50:53 -05:00
Dwight
dcd9411abf SavedContext now assumes already (at least) locked if there is an existing context. not sure if
that was the case but if not it was probably wrong already.

read locks can now be nested
2009-12-04 11:18:42 -05:00
Eliot Horowitz
2aec9ea61d moving towards direct access from DBDirectClient rather than through message layer
not finished
2009-12-04 01:25:50 -05:00
Dwight
16bd507b51 checkpoint some intermediate concurrency work 2009-12-02 09:39:17 -05:00
Eliot Horowitz
6f0dce36a5 rename old oplog to diaglog - make it always compiled in 2009-11-11 16:02:47 -05:00
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00