Commit Graph

87 Commits

Author SHA1 Message Date
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
Eliot Horowitz
7156346ff7 fix oplog replay segfault SERVER-4350 2011-11-23 02:35:13 -05: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
Eliot Horowitz
32de61255e putting delete in its own files and related cleaning 2011-06-20 17:34:16 -04:00
Eliot Horowitz
4d2cb04931 more update cleaning 2011-06-20 16:23:54 -04:00
dwight
37204c7ca0 cleaning and a small insert optimization 2011-05-29 00:31:17 -04:00
dwight
afd23f33f9 make a noreturn version of insert, would be faster unless cmopiler is very smart.
cleaning in insert()
2011-05-24 10:05:31 -04:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
gregs
f78d25f6e2 don't override cursor matcher with default op matcher 2011-05-11 13:41:46 -04:00
Dwight
a3cd52048a Merge branch 'master' into main
Conflicts:
	SConstruct
	db/btree.h
	db/db.vcxproj.filters
	db/dbcommands_admin.cpp
	db/geo/2d.cpp
	db/pdfile.cpp
	dbtests/test.vcxproj.filters
2011-05-03 15:53:27 -04:00
Aaron
f799371da9 SERVER-958 Update matcher and matcher usage for better non single key range support 2011-04-25 13:29:50 -07:00
Dwight
846a7a0bc5 checkpoint index v2 work 2011-04-21 14:53:10 -04:00
Aaron
c27b540669 SERVER-2809 don't read cursor's nscanned if failed yield invalidated the cursor 2011-03-21 21:52:21 -07:00
Kristina
97d4c5c7ef finish curop in helpers SERVER-2578 2011-02-25 16:46:13 -05:00
Mathias Stearn
aa7977f986 commitIfNeeded in removeRange() 2011-02-01 13:02:38 -05:00
Aaron
4ee5edf02a remove unused variable 2011-01-31 15:58:55 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
025cf2313e release ClientCursor in removeRange since sometimes the cursor itself is deleted SERVER-2319 2011-01-02 20:28:09 -05:00
Eliot Horowitz
b577363aee remove CursorIterator 2010-11-15 14:39:56 -05:00
Mathias Stearn
ae79206543 fix http with auth SERVER-1952 2010-11-12 10:56:00 -05:00
Eliot Horowitz
ea9cce21e7 use scoped_ptr instead of auto_ptr 2010-10-23 17:40:48 -04:00
Eliot Horowitz
6766569f9a yield lock during removeRange SERVER-1521 2010-09-09 17:55:20 -04:00
Aaron
e66ae485e9 Merge branch 'master' of github.com:mongodb/mongo 2010-08-03 20:09:28 -07:00
Aaron
701dc65282 SERVER-1528 account for expensive skipping operations in nscanned 2010-08-03 20:09:16 -07:00
Eliot Horowitz
3427b84dd2 error code 2010-08-03 15:23:49 -04:00
Dwight
c740177041 rs handle rollbacks from capped collections 2010-08-03 14:13:53 -04:00
Eliot Horowitz
625115721c fix rollback saving SERVER-1512 2010-08-03 11:26:39 -04:00
Eliot Horowitz
d85c39b69d move RemoveSaver out of d_migrate into helpers - prep for SERVER-1512 2010-08-03 09:13:53 -04:00
Eliot Horowitz
f001dea20c callback for removeRange 2010-07-19 16:44:43 -04:00
Eliot Horowitz
c086fea7b1 fix typo like thing 2010-07-16 15:29:06 -04:00
Eliot Horowitz
dc54ce2860 removeRange max inclusive option 2010-07-16 14:39:05 -04:00
Eliot Horowitz
15697cf216 clear range before moving data into it SERVER-1425 2010-07-16 10:32:00 -04:00
Eliot Horowitz
524705c6c6 added assert 2010-07-15 17:13:55 -04:00
Eliot Horowitz
a98a688938 spam 2010-07-15 15:16:50 -04:00
Eliot Horowitz
941f06205a helpers for upsert and removeRange 2010-07-15 14:15:09 -04:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Dwight
dc38d17131 rs 2010-06-04 15:37:37 -04:00
Aaron
5408868567 SERVER-109 fix mem ownership when popping or clauses, real doc lookup when required 2010-06-03 12:24:13 -07:00
Aaron
57caf02ff3 SERVER-109 get rid of nextSimpleQuery(), put matcher in base QueryOp, get rid of 'query' in various objects 2010-06-02 17:10:34 -07:00
Aaron
69cb3c068d SERVER-109 rename clone() createChild() 2010-06-02 13:00:20 -07:00
Aaron
37f2f983a4 SERVER-109 let query op short stop multi scan planning, handle or in helpers finone 2010-05-12 11:52:43 -07:00
Aaron
521136dfc0 SERVER-109 $or checkpoint 2010-05-12 10:38:58 -07:00
Eliot Horowitz
740cc1308e auto_ptr -> shared_ptr for Cursor objects 2010-05-07 17:25:57 -04:00
Dwight
edefb29e37 rs and lots of misc including dbwebserver 2010-05-06 15:38:58 -04:00
Dwight Merriman
3483f22813 refactor and rename insert 2010-04-28 08:25:56 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
059ebd4b6a rename DBContext to Client::Context 2010-01-17 16:57:35 -05:00
Eliot Horowitz
c0a2b97769 _id lookup don't work without index (capped collections) SERVER-545 2010-01-14 13:07:17 -05:00
Dwight
0aef7092be small opt 2009-12-31 16:22:28 -05:00