Commit Graph

103 Commits

Author SHA1 Message Date
Eliot Horowitz
567480430e ClientCursor::getFieldDotted 2011-02-05 17:52:36 -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
2603a9632c use data from indexes if possivle SERVER-192 2010-11-16 16:11:43 -05:00
Eliot Horowitz
62878d24b7 rename FieldMatcher to Projection 2010-11-15 16:36:04 -05:00
Eliot Horowitz
a0de804492 more FieldMatcher cleaning 2010-11-15 16:36:02 -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
f5f012c46d method on cursor to say if a key might be different than in the object 2010-11-12 18:03:06 -05:00
Eliot Horowitz
31a3c0bc0f check for dups on multikey indexes SERVER-1904 2010-11-09 18:36:56 -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
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
Eliot Horowitz
334b692807 some more passthrough methods on ClientCursor 2010-10-23 17:40:36 -04:00
Alberto Lerner
465896350e SERVER-1804 tighter background job 2010-10-13 17:38:09 -04: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
dwight
c1b68a13de towards durability 2010-09-27 12:35:22 -04:00
Dwight
6f12a64f54 cleaning 2010-08-23 11:53:49 -04:00
Dwight
857bd9b4dc more const 2010-08-23 11:45:32 -04:00
dwight
4be061b5e3 const is safer 2010-08-23 11:27:47 -04:00
dwight
61e7998a22 clean up diags clientcursor after changes 2010-08-23 11:24:34 -04:00
dwight
c073cafa96 fix an old but serious bug with cursors 162 2010-08-23 11:12:35 -04:00
Eliot Horowitz
70f3d4fc31 track number of timed out cursors and display in cursorinfo and serverStatus 2010-08-18 09:48:02 -04:00
Aaron
e6ad6ecb02 SERVER-1453 yield during geo query 2010-08-02 15:43:53 -07:00
Eliot Horowitz
3f77dcec43 fix yield 2010-08-01 23:17:07 -04:00
Eliot Horowitz
74a6d11e6b fix update/remove concurrency - centralize for query SERVER-1529 SERVER-1518 2010-08-01 22:22:14 -04:00
Eliot Horowitz
eb194af185 Cursor::supportYields SERVER-1453 2010-07-24 21:58:39 -04:00
Eliot Horowitz
4308df6f3b don't delete old chunk data until there aren't cursors iterating it SERVER-937 2010-07-22 17:24:51 -04:00
Eliot Horowitz
4d97315ae6 const char * to string 2010-07-15 14:14:57 -04:00
Aaron
c6f48e0cd3 SERVER-1390 don't put ClientCursor in shared_ptr 2010-07-12 11:20:53 -07:00
Aaron
f17aefd598 SERVER-1376 yield in query set runner for query,count,update,delete 2010-07-07 19:35:26 -07:00
Eliot Horowitz
35118b07ce easier to use Yield 2010-07-03 22:06:35 -04:00
Eliot Horowitz
14344eeea3 yield based off of scanned and time
ElapsedTracker class for managing (horrible name)
finish SERVER-517
2010-06-22 06:37:49 -04:00
Eliot Horowitz
fd3b8fa7ad don't yield if you're a reader and only other readers are active SERVER-517 2010-06-22 05:27:56 -04:00
Eliot Horowitz
4e1f95acab some ClientCursor yield cleaning 2010-06-19 20:20:19 -04:00
dwight
3f8da3805a towards QueryOption_Exhaust 2010-06-06 15:46:55 -04:00
Aaron
6a0f9dfa91 SERVER-109 remove matcher from ClientCursor 2010-05-25 16:09:24 -07:00
Aaron
349d039224 SERVER-109 finish rewriting bestGuess code path 2010-05-25 16:01:06 -07:00
Aaron
b7add1f622 SERVER-109 iterator interface for delete and update 2010-05-24 22:00:25 -07:00
Aaron
68ce7b981e SERVER-109 $or getMore checkpoint 2010-05-23 22:54:15 -07:00
Mathias Stearn
ba7d2aeb80 ptr<T> class 2010-05-19 20:54:34 -04:00
Mathias Stearn
f858e787eb Make YieldLock safer 2010-05-19 20:54:34 -04:00
Mathias Stearn
e239134b55 Yield lock while computing MD5. Also added YieldLock::relock(). 2010-05-19 13:34:29 -04:00
Dwight
c33904ddfb name threads 2010-05-18 12:17:43 -04:00
Mathias Stearn
f99aba9824 $showDiskLoc query option SERVER-1054.
Implementation is a bit ugly. Please code-review and let me know if there is a better way
2010-05-11 19:12:13 -04:00
Eliot Horowitz
740cc1308e auto_ptr -> shared_ptr for Cursor objects 2010-05-07 17:25:57 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
55e8b26481 basic serverStatus for mongos SERVER-942 2010-04-20 12:58:04 -04:00
Eliot Horowitz
5645c80f94 better/safe implementation of tracking slave progress for SERVER-467 2010-04-02 13:18:06 -04:00
Eliot Horowitz
6b34772e70 some ClientCursor helpers and a yield option where you want to run some code 2010-03-30 11:00:16 -04:00