Aaron
e86d2a2ce7
SERVER-3478 clarify meaning of attribute representing cached plans and set it correctly for simple _id and geo queries
2011-12-04 10:36:52 -08:00
Dwight
152025d12e
new ReadContext class which sets context and acquires readlock at the same time.
2011-12-01 17:50:32 -05:00
Aaron
a68d83f02b
SERVER-4400 don't record query plan if a client cursor yield recovery fails; this patch violates the QueryOp abstraction a bit, but we are replacing that code soon anyway
2011-11-30 22:20:07 -08: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
Tony Hannan
6c994c3fc9
SERVER-3419: use getHostNamedCached instead of getHostName
2011-11-02 10:41:18 -04:00
Tony Hannan
19b3476f6a
SERVER-3419: Explain now includes server that processed the request
2011-11-01 21:28:01 -04:00
dwight
db740f9363
unused variable warning, minor
2011-10-31 09:49:42 -04:00
gregs
2b087f3543
changes to staleconfigexceptions for SERVER-4158
2011-10-31 09:28:59 -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
Aaron
4184797545
SERVER-3555 assert when or query yield fails to prevent potential invalid memory access
2011-08-17 21:03:54 -07:00
Eliot Horowitz
33fe71e636
cruft
2011-08-05 11:14:05 -04:00
Mathias Stearn
e2778cdf78
Use more common (and readable) names for branch prediction hints
2011-08-02 18:50:04 -04:00
dwight
8919d7686e
compile
2011-08-02 10:37:48 -04:00
dwight
96b6b65530
compile
2011-08-02 02:36:39 -04:00
dwight
81fece68e9
prefetch type stuff
2011-08-02 02:36:36 -04:00
dwight
b1a62743d1
cleaning getmore
2011-08-02 02:35:55 -04:00
gregs
a0f84c7f22
change name of extra explain function for cursor - SERVER-3277
2011-07-27 12:37:46 -04:00
gregs
1a1233fd67
allow custom explain extensions SERVER-3277
2011-07-27 12:37:46 -04:00
Kristina
f1cd4e99c2
return 0 instead of throwing getMoreWaitException
2011-07-14 15:44:34 -04:00
Eliot Horowitz
317c3a4e3b
use ClientCursor::extractKeys so can use covered index if possible
2011-06-24 16:07:13 -04:00
Eliot Horowitz
6cd435b005
SERVER-2563 - make ClientCursor check disk location for record in memory if its going to be needed
2011-06-23 15:46:10 -04:00
dwight
066039d368
fix compile with vcxproj for new files
2011-06-22 23:16:36 -04:00
Eliot Horowitz
131e1d2182
more cleaning
2011-06-22 15:51:08 -04:00