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

51 Commits

Author SHA1 Message Date
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
Eliot Horowitz
11ee78fc03 don't complain about ScopedDBConnection if the underlying connection failed 2009-09-14 14:31:46 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Aaron
0532b35568 add client ip / port to current op, add unlocked version of current op to http interface 2009-05-26 17:18:34 -04:00
Aaron
da7a9b3f71 make tools capable of running standalone, without a mongod instance 2009-05-20 11:39:12 -04:00
Aaron
13f2cc026f revert tracking stack of current ops, as not enough infrastructure in place to handle all cases well 2009-05-13 12:32:30 -04:00
Aaron
92aa0ce095 maintain stack of current ops, do http authentication after recording context for http output 2009-05-13 11:58:24 -04:00
Aaron
6ea9c81aa3 DBDirectClient uses main db mutex recursively and preserves database context 2009-05-06 11:32:48 -04:00
Aaron
1cc7ed2b07 log query info for update & delete 2009-05-04 15:46:23 -04:00
Aaron
ed35b0874c Close listener sockets on exit 2009-04-01 12:26:31 -04:00
Eliot Horowitz
e91ed0e854 add DBClientBase::getServerAddress() 2009-03-25 17:08:36 -04:00
Aaron
3931f7efcb Revert "Use os file locking to lock dbpath"
This reverts commit 56e81849a0.
2009-03-10 10:14:37 -04:00
Aaron
56e81849a0 Use os file locking to lock dbpath 2009-03-09 20:02:02 -04:00
Aaron
1839efb94d Log current op to console on crash 2009-03-03 16:10:42 -05:00
Aaron
db0f38e88b Dummy count implementation 2009-02-20 11:08:22 -05:00
Aaron
166716bb25 dbtop 2009-02-09 15:57:30 -05:00
Aaron
1944722861 Typo 2009-01-23 10:28:07 -05:00
Aaron
29c383ae20 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-23 10:17:34 -05:00
Aaron
9d3019ba30 Dummy authorization for DBDirectClient 2009-01-23 10:11:11 -05:00
Eliot Horowitz
64e1027072 track where the db was started from so easier to find jars 2009-01-22 11:15:51 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Eliot Horowitz
4e60ec0df1 sayPiggyBack/piggyBack
not implemented yet, just passes through to say
2009-01-13 12:53:00 -05:00
Aaron
601be4dd4f recv full http request, implement simple rest post handling, refactor dbclient code 2009-01-07 10:08:12 -05:00
Eliot Horowitz
ce95083dc2 moving DBDirectClient to instance.* b/c it only make sense there and cleans linking 2009-01-02 16:41:13 -05:00
Aaron
689962e86d Move getDatabaseNames to instance.cpp 2008-12-29 14:07:21 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
6ae140a2df Use socketless interface for cloning using single db instance 2008-12-18 12:02:12 -05:00