Commit Graph

77 Commits

Author SHA1 Message Date
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
Dwight
14e61fb619 store queryOptions in ClientCursor in case needed during getMore 2010-03-25 15:42:11 -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
62aad0ee18 refactoring runQuery / UserQueryOp part 1 2010-02-15 22:33:27 -05:00
Dwight
a84fc5843a rename storage.h -> diskloc.h 2010-02-04 18:06:04 -05:00
Dwight
530b1b2e7a deleteIndexes -> dropIndexes 2010-01-22 15:58:49 -05:00
Dwight
adf21e9404 block administrative things like dropping namespace while a background index job is in progress 2010-01-22 15:17:03 -05:00
Dwight
28f3a90f8c fix an issue with new clientcursor::pinvalue code
and more on bg indexing
2010-01-22 12:15:24 -05:00
Dwight
3f09bd4f64 noTimeout() wasn't threadsafe, in theory could timeout before the call. probably wouldn't ever actually
happen - but fixed.

i think there is still some places where ClientCursor::Pointer may be needed, but not yet used.
2010-01-21 12:23:44 -05:00
Dwight
11a2fb7e25 cleaning 2010-01-20 17:11:25 -05:00
dwight
6973778138 make findingstartcursor safe from timeouts 2010-01-12 14:08:38 -05:00
Dwight
63c26a96bd SERVER-521 cursor may be deleted while in getMore 2010-01-06 13:39:57 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Dwight
0e1575bd36 $atomic option on remove()
see
http://www.mongodb.org/display/DOCS/Removing
2009-12-21 17:43:06 -05:00
Eliot Horowitz
96472f28a3 make ClientCursor::yield - move temp test there 2009-12-18 14:10:24 -05:00
Dwight
9cc8e2608a rename func 2009-12-17 17:17:46 -05:00
Eliot Horowitz
a7635d3b09 when doing large delete, unlock so other things can go: SERVER-494 2009-12-17 16:54:40 -05:00
dwight
20d4e01e46 minor concurrency prep tweaking 2009-11-27 16:40:58 -05:00
Eliot Horowitz
a8bc6f9584 store query in ClientCursor so can see query on slow getMore queries 2009-10-17 23:07:26 -04:00
Dwight
12bf0ac29b comment 2009-10-09 13:37:30 -04:00
Dwight
e216098c6c Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/clientcursor.cpp
2009-10-09 12:10:28 -04:00
Dwight
75cc68851f make ClientCursor methods threadsafe 2009-10-09 11:24:37 -04:00
Dwight
a57f85698b more cleanup / clientcursor encapsulated better 2009-10-07 15:47:08 -04:00
Dwight
d2db017c7a some code cleanup 2009-10-07 15:34:14 -04:00
Eliot Horowitz
dd9ba41ed4 no cursor timeout query option - using for clone 2009-07-29 12:09:38 -04:00
Dwight
31193a1476 remove IdSet (for deduping) 2009-07-02 18:20:32 -04:00
Eliot Horowitz
8d8ca5c041 refactoring field matcher, no function changes yet MINOR 2009-07-01 14:55:52 -04:00