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
dwight
310e250fd3
cleaning. we want to use pch.h as little as possible (zero eventually)
...
this a small step that way
2011-10-02 13:38:29 -04:00
Aaron
789bd622ae
SERVER-3208 refresh cached namespace pointers on update yield
2011-07-31 08:59:01 -07:00
gregs
e5d902202f
full API change to command interface, add options SERVER-3405
2011-07-27 15:59:27 -04:00
Dwight
4a790c6ae4
set keysize in v1 to 1KB
2011-07-05 16:12:11 -04:00
Eliot Horowitz
3a5096deb4
ClientCursor::getFieldsDotted safe for v1 indexes
2011-07-01 10:07:38 -04:00
dwight
70040db8d0
fix an issue with cursors on a delete bucket from within deleteObjects
2011-06-28 00:55:06 -04:00
Dwight
01e780019a
one more v1 index fix
2011-06-27 17:45:31 -04:00
Dwight
a538179ca4
bug fix v1 indexes and distinct
2011-06-27 17:40:05 -04:00
Eliot Horowitz
5696b25f0a
ClientCursor::extractKeys
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
Eliot Horowitz
131e1d2182
more cleaning
2011-06-22 15:51:08 -04:00
dwight
e33be1a519
SERVER-3295 report more details on cursors in serverstatus to facilitate troubleshooting
2011-06-20 20:17:44 -04:00
Dwight
cfc98d710f
minor
2011-06-20 17:29:47 -04:00
Eliot Horowitz
037cf2ea57
yield with disk prep for ClientCursor SERVER-2563
2011-06-15 17:29:18 -04:00
dwight
a74672f5a8
bad bug in alloccursorid
2011-06-11 20:34:27 -04:00
dwight
6510475ff1
curTimeMillis() was dubious as it rolls over frequently -- so eliminate it.
2011-06-02 23:49:49 -04:00
Aaron
f2beea161e
SERVER-2009 don't skip location on yield recovery when the location has already been updated
2011-06-02 10:23:33 -04:00
Aaron
c61c9fa588
SERVER-2977 add yielding, simple ordering, and some exception handling to query optimizer cursor
2011-05-17 12:20:08 -07:00
Dwight
1c665c4547
clearer logging
2011-05-13 17:29:16 -04:00
dwight
c8918a0430
defensive, maybe safer for shutdown, in particular on posix
2011-05-09 10:49:19 -04:00
Dwight
4fa17ac8b5
dont throw exception in destructor
2011-05-04 15:52:40 -04:00
Mathias Stearn
59bfa55e65
Add assertions for ClientCursor mutex usage
2011-05-04 15:41:43 -04:00
Dwight
32e07991c0
five minutes was the intent
2011-04-18 12:58:56 -04:00
Dwight
41891d5559
2x for journaling to make the calculation right
2011-04-18 12:57:29 -04:00
Dwight
f3fee9740d
fix cmopiler warning
2011-04-18 12:46:58 -04:00
Dwight
cc2afee21d
log memory usage so it is easier to troubleshoot from a log file
2011-04-18 12:37:00 -04:00
Mathias Stearn
8eb72fe373
more ClientCursor::invalidate cleanup
2011-04-07 17:16:44 -04:00
Mathias Stearn
3cff88123e
Fix and cleanup ClientCursor::invalidate() SERVER-2816
2011-04-07 17:16:44 -04:00
Eliot Horowitz
64de0d729b
more info when cannot yield
2011-02-25 00:02:07 -05:00
Eliot Horowitz
567480430e
ClientCursor::getFieldDotted
2011-02-05 17:52:36 -05:00
Eliot Horowitz
19f1a2c184
astyle
2011-01-05 00:32:30 -05:00
Eliot Horowitz
4b80354d2f
fix ClientCursor::getFieldsDotted with compound keys SERVER-2325
2011-01-05 00:32:15 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
b0845cb442
pass ns to staticYield so can log on error/warning SERVER-2268
2010-12-22 02:48:47 -05:00
Eliot Horowitz
2c9fe6b427
if key is in index, use it for distinct SERVER-1673
2010-11-14 01:42:36 -05:00
Eliot Horowitz
5f0427fdd8
some thoughts on getting things from indexes SERVER-1502 SERVER-192
2010-11-02 00:09:00 -04:00
Eliot Horowitz
9c312facc6
move ClientCursor::ClientCursor() to .cpp
2010-11-02 00:02:08 -04:00
dwight
2328fdc8e0
comment
2010-10-30 13:22:21 -04:00
Eliot Horowitz
6157d16b47
cleaning ClientCursor to obey kernel rules and encapsulate more so can add logic later
2010-10-29 11:00:38 -04:00
dwight
9c1914dfb9
better warning for clientcursors
2010-10-19 09:29:22 -04:00
Aaron
e0590db4d1
SERVER-1819 limit interrupt code paths when write lock held
2010-10-04 22:29:44 -07:00
Eliot Horowitz
807d6a5d44
make ClientCursor::byLoc have cursor id be part of key SERVER-1875
2010-09-30 12:19:35 -04:00
Eliot Horowitz
33dc9a2d29
cleaing killCursor code
2010-09-30 10:07:17 -04:00
Eliot Horowitz
ac505f9786
instead of using normal cursor for doing chunk migration, get all DiskLocs sort, and use a command
...
is much faster for randomly distributed data SERVER-1828
2010-09-22 14:56:55 -04:00
Dwight
6f15b6f62d
defensive
2010-08-25 16:01:32 -04:00
Dwight
afa28ddd8a
misc cleaning
2010-08-23 12:44:40 -04:00
Dwight
05d7807cea
elim ambiguous call warning/error
2010-08-23 11:31:06 -04:00
dwight
a2307fa518
clientcursor finish last commit
2010-08-23 11:25:12 -04:00
dwight
61e7998a22
clean up diags clientcursor after changes
2010-08-23 11:24:34 -04:00