Commit Graph

15297 Commits

Author SHA1 Message Date
Dwight
a62ab9a7f4 prep 2011-11-17 14:40:09 -05:00
Brandon Diamond
b9764b74b8 SERVER-4311: Updated "M" to "PRI" in mongostat 2011-11-17 14:34:44 -05:00
Brandon Diamond
d28c919025 SERVER-4291: Return code of recv unchecked 2011-11-17 11:44:08 -05:00
Dwight
30c7b82757 Merge branch 'master' of github.com:mongodb/mongo 2011-11-17 10:11:15 -05:00
Dwight
66697eb748 comments and such 2011-11-17 10:11:10 -05:00
gregs
4aa2c8b92b buildbot startMongos api changed, need to update slowNightly sharding_* tests 2011-11-17 09:52:51 -05:00
dwight
ddadd10a6e compile 2011-11-17 07:24:18 -05:00
dwight
50ac5d623a crlf 2011-11-17 08:09:07 -05:00
dwight
0877fc6c93 concurrency work 2011-11-17 08:05:15 -05:00
dwight
dddad48519 comment 2011-11-17 08:05:12 -05:00
dwight
82d29723fc server.h tweaking not used much yet 2011-11-17 08:05:10 -05:00
dwight
25df042c97 comments 2011-11-17 08:05:08 -05:00
Tad Marshall
7c8ac68bce SERVER-4298 -- minor cleanup to db.help() output
Remove the duplicate db.getMongo().setSlaveOk() help line from db.help()
(I kept the one with the more terse text), remove an extraneous space
from the end of db.getProfilingStatus(), sort the lines alphabetically.
2011-11-17 05:41:59 -05:00
Eliot Horowitz
d800b9548e test for SERVER-3567 2011-11-17 02:30:39 -05:00
Eliot Horowitz
dfa9b6c2b0 finish migration of Database::validDBName to NamespaceString::validDBName 2011-11-16 15:40:58 -05:00
Eliot Horowitz
673475764e limit number of concurrent splitVectors SERVER-4296 2011-11-16 15:40:58 -05:00
Eliot Horowitz
c7af76fe5f Don't create entries in config.databases if the dbname is invalid SERVER-4284 2011-11-16 15:40:58 -05:00
Eliot Horowitz
2ea225cd7f move validDBName from Database to NamespaceString 2011-11-16 15:40:58 -05:00
Eliot Horowitz
51aa7535db moving some core namespace utils into namespace_common to make it easier to include 2011-11-16 15:40:58 -05:00
Tad Marshall
9bef2fd11e SERVER-4043 -- fix tab completion in mid-code
Add code to linenoise to do what readline was doing.  When tab is
hit, we need to search backwards from the insertion point for a
break character (we're using " =+-/\\*?\"'`&<>;|@{([])}" for now)
and only pass the characters between that point and the cursor
position to the completion routine.  When it gives us possible
completions, we need to insert them in place of the string we
extracted, which makes completion work when not at the left margin
and even when inside another expression.  Linenoise was passing
the whole input line and substituting the replacement text for the
entire line.
2011-11-16 15:19:27 -05:00
Kristina
0b91ed4057 Cloner shouldn't call logOp() when creating a collection on the secondary SERVER-3939 2011-11-16 14:33:49 -05:00
Kristina
d54adbc4c2 Do not leave initial sync until minvalid is reached SERVER-4294 2011-11-16 14:33:49 -05:00
Dwight
05f51c94ac Merge branch 'master' of github.com:mongodb/mongo 2011-11-16 14:22:00 -05:00
Dwight
96eb641a69 better logging on a fatal journalingFailure 2011-11-16 14:21:47 -05:00
Eric Milkie
366553c97e spaces, not tabs. 2011-11-16 13:51:59 -05:00
Eric Milkie
62554d064a Allow more than four regular expressions in a query SERVER-969
prior behavior was to log an error message and ignore any further regexps past 4
new behavior is to allow as many regexps as desired.
2011-11-16 13:25:12 -05:00
Tad Marshall
8d8b272225 SERVER-4008 -- don't leak memory in the shell
Track the strdup-ed (i.e. malloc-ed) strings returned by linenoise, and
free the memory when we are done with it. Free command line history
memory explicitly when we save the history to a file and stop using it.
Non-Windows versions were freeing this memory using an atexit handler,
but this handler isn't set up for Windows.
2011-11-16 13:07:37 -05:00
gregs
279adb20a0 don't throw away conn on gle SERVER-4290 2011-11-16 12:32:42 -05:00
dwight
0655ba4ec8 we can probably try new query plans a bit less often 2011-11-15 21:21:24 -05:00
Tad Marshall
1194acb7fb SERVER-3771 -- part 2 -- make mongo shell behave like bash
Remove the all-on-one-line command line editing in the shell and replace it
with something more in the style of other command lines such as bash. Allow
prompts to exceed the width of the terminal screen and allow newlines in
them. Strip all other control characters from the prompt text before
displaying it so that embedded backspaces, tabs and other controls don't
display badly or require extra code to emulate. This prevents users from
using escape sequences in their prompts to perform highlighting, for now
at least. Allow command line text to exceed the available width following
the prompt by wrapping onto other lines the way they bash does it. Make the
newline character display as a newline instead of as a linefeed or DOS OEM
character. Increase the amount of common code between Windows and
non-Windows versions and make them behave the same way. Don't refresh the
Windows command line when the shift key is pressed.
2011-11-15 17:35:40 -05:00
agirbal
377c4e96f7 SERVER-4241: v8 needs method too 2011-11-15 13:53:29 -08:00
Spencer T Brody
4b0adb4175 Fix permissions on keyfile 2011-11-15 15:31:27 -05:00
dwight
1306fee268 fix warning 2011-11-15 13:17:20 -05:00
Spencer T Brody
a1dbfee928 Fix test 2011-11-15 12:25:53 -05:00
Spencer T Brody
dd8703183c Revert "Stop fsync-lock from blocking out reads. SERVER-4243"
This reverts commit 6c88cf0b68.
2011-11-15 12:13:49 -05:00
Scott Hernandez
8770fd7de4 SERVER-4244: cleanup test, remove dugging print statements. 2011-11-15 11:48:51 -05:00
Scott Hernandez
7e14b578ff SERVER-2370: more shell help 2011-11-15 11:38:03 -05:00
agirbal
d9ee2526f4 SERVER-4114: added admin user to each shard for better testing 2011-11-15 00:40:28 -08:00
agirbal
e11df372b0 SERVER-4258: switch the JS Thread classes to work with v8 isolate 2011-11-14 22:36:18 -08:00
agirbal
de2ab329d4 SERVER-4258: dont need lock preemption with isolates 2011-11-14 22:36:18 -08:00
Spencer T Brody
ab709c2192 Test that reads don't get blocked by writes when fsync-locked. SERVER-4243 2011-11-14 21:29:44 -05:00
Spencer T Brody
6c88cf0b68 Stop fsync-lock from blocking out reads. SERVER-4243 2011-11-14 21:18:18 -05:00
dwight
d1a054cac5 fix DiagLog race condition. while at it some cleaning 2011-11-14 18:38:16 -05:00
dwight
d53b28dac3 crlf 2011-11-14 18:38:14 -05:00
Eliot Horowitz
4c2600d332 scons flag to use each library externally --use-system-(prcre|boost) SERVER-3829
currently supported:

--use-system-all

--use-system-pcre
--use-system-sm
2011-11-14 18:05:46 -05:00
Kristina
2009565604 Handle auth in C++, not JS SERVER-4241 2011-11-14 17:53:54 -05:00
Spencer T Brody
b230999544 Add dedicated key for running auth tests 2011-11-14 17:24:59 -05:00
Spencer T Brody
98813f312f Don't run test of cloneDB command if using auth. SERVER-4245 2011-11-14 17:14:09 -05:00
Scott Hernandez
c31b96a8bc SERVER-4244: bad scott, race condition causer\! 2011-11-14 17:05:12 -05:00
Kristina
748587a373 Don't clear slave cache as often SERVER-4278 2011-11-14 16:31:22 -05:00