Aaron
a70fbc392c
SERVER-4276 replication implementation specifies a client ns including $cmd for commands, causing buildbot failure when combined with the new namespace guard; going to disable the 'normal' namespace client guard pending clarification of desired behavior in the jira (there are some preexisting questions about correct behavior)
2011-12-06 09:51:07 -08:00
Aaron
bd50d4591b
SERVER-4276 update index namespace guard for new client context implementation
2011-12-04 10:36:53 -08:00
Aaron
d1eab2cbc4
SERVER-4276 error code
2011-12-04 10:36:52 -08:00
Aaron
1299e0cc56
SERVER-4276 prevent client access to index namespaces
2011-12-04 10:36:52 -08:00
dwight
ed5353bb0a
revert dbholdermutex
2011-12-03 13:32:26 -05:00
dwight
b86c65abc2
cleaning
2011-12-03 09:58:50 -05:00
milkie
4c58b9c182
SERVER-3930 -- record profiled statistics even if they are zero
...
Made profile member variables' initial values "-1" so that when they are updated with a value of 0, they will be
entered into the system.profile collection.
Changed keyUpdates to be signed so that it can be initialized to -1 like all the other integer values in the OpDebug class.
2011-12-02 08:59:48 -05:00
dwight
1fcc72f2e6
error code
2011-12-01 17:04:22 -05:00
Dwight
152025d12e
new ReadContext class which sets context and acquires readlock at the same time.
2011-12-01 17:50:32 -05:00
dwight
ba858ba8d3
redo how we handle concurrency when opening a database initially.
...
this was awkward at best before (very old code). however the change is pretty big and is thus
worth a careful review - the main issue possible is not being locked as widely as it should be
somewhere, not so much the specifics of any one line of the change.
also cleaned up the Context constructors to be more readable and got rid of one completely
made several Context object members const
2011-11-26 21:08:11 -05:00
dwight
842bbc1527
compile
2011-11-23 12:18:06 -05:00
dwight
b6b6bc7de8
concurrency work
2011-11-23 11:03:52 -05:00
dwight
155b6269ee
comments and logging
2011-11-12 12:01:55 -05:00
gregs
2b087f3543
changes to staleconfigexceptions for SERVER-4158
2011-10-31 09:28:59 -04:00
dwight
dae93e9262
compile
2011-10-28 09:43:41 -04:00
Mathias Stearn
576a669d13
fix build
2011-10-26 18:33:06 -04:00
Dwight
3844dd29f8
concurrency
...
beginnings of a bit of framework to help with correctness. tbd if helpful will iterate.
2011-10-26 15:27:19 -04:00
dwight
08c3888312
make a long running operation terminate if the client has disconnected. we check for this at the beginning
...
of every request but intra request. if a request will run for a very long time this is bad.
probably not for backporting -- might be nuances need to smoke for a while
also some yield code cleaning, really just making it easier to read.
2011-10-11 15:16:01 -04:00
Eliot Horowitz
d21a268c20
ClientBasic::getCurrent()
2011-09-18 00:57:02 -04:00
Kristina
723c6fbffb
make getlasterror return an optime, not an int64 SERVER-3665
2011-09-16 13:05:49 -04:00
dwight
7e1e1f5a1f
enable new faster TLS for gcc
2011-09-14 11:39:20 -04:00
dwight
94738d6d82
make threadlocal 4x faster
2011-09-12 23:32:33 -04:00
Eliot Horowitz
211452b5fe
put connectionId in currentOp()
2011-09-09 13:44:15 -04:00
Eliot Horowitz
3a52f00ede
cleaning new profiler data SERVER-1815
2011-08-08 12:25:38 -04:00
gregs
e5d902202f
full API change to command interface, add options SERVER-3405
2011-07-27 15:59:27 -04:00
Eliot Horowitz
a08904e886
don't clean up Client in static shutdown as its not safe to lock
2011-07-25 15:52:36 -04:00
Eliot Horowitz
c5f45d1ebd
better handsake
2011-07-08 13:22:45 -04:00
Eliot Horowitz
d1f8260ff2
Revert "fix active in curop"
...
This reverts commit 10d2d10f7f .
2011-07-07 08:27:31 -04:00
Eliot Horowitz
10d2d10f7f
fix active in curop
2011-07-07 08:16:53 -04:00
Kristina
f0337ae981
fast sync passthrough SERVER-992
2011-06-09 15:05:34 -04:00
Eliot Horowitz
bec32bf3cd
don't use ? curop because it leads to user confusion
...
add numYields to curop
SERVER-3179
2011-06-01 12:27:09 -04:00
dwight
cc95c7a995
stackchecker less chatty
2011-06-01 09:41:12 -04:00
Eliot Horowitz
e0fdd549cc
no _WINDOWS
2011-05-29 04:19:16 -04:00
Eliot Horowitz
2e9c306fb5
cleaner display
2011-05-29 04:13:23 -04:00
Eliot Horowitz
8b8427c898
put thread if in currentOp()
2011-05-29 04:05:49 -04:00
Eliot Horowitz
ce83d98bcf
access to progress meter in db.currentOp() SERVER-2167
2011-05-17 10:50:12 -04:00
Eliot Horowitz
821f38fb8a
fix and test for update logging SERVER-2027
2011-05-17 01:29:54 -04:00
dwight
b7ba2ba3bc
stack size usage checker for _DEBUG builds
2011-05-15 20:15:27 -04:00
Dwight
7f01b84b1b
stack usage checker
2011-05-13 18:38:40 -04:00
Eliot Horowitz
699abf32b7
don't print full object in log
2011-05-08 17:28:56 -04:00
Eliot Horowitz
9e4087883d
put fields into system.profile, not a big string SERVER-3061
2011-05-08 00:53:07 -04:00
Eliot Horowitz
71dc50d006
don't use stringbuffer for OpDebug SERVER-1591 - updates about 8% faster
2011-05-07 17:00:57 -04:00
Mathias Stearn
6cab62d6ce
error codes
2011-04-12 18:31:04 -04:00
Mathias Stearn
30792b84a3
Don't allow taking write lock while out of disk space SERVER-2609
2011-04-12 18:23:47 -04:00
Dwight
b7162f455f
show if pending kill in currentop
2011-04-07 16:38:10 -04:00
Eliot Horowitz
9e05a4eddb
warning if file allocator failed and getting write lock, related to SERVER-2609
2011-04-06 18:10:52 -04:00
Eliot Horowitz
df64416280
cleaner
2011-04-06 18:10:52 -04:00
Eliot Horowitz
f9237e3cb6
working towrads unifying network code
2011-04-05 02:24:16 -04:00
Eliot Horowitz
c947377014
remove unused parameter to shardVersionOk
2011-03-25 09:59:50 -04:00
Eliot Horowitz
57a7eda886
fix potential seg fault when Client Context isn't handled correct with exceptions
2011-03-09 10:22:53 -05:00