0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

15322 Commits

Author SHA1 Message Date
Spencer T Brody
220776dff8 Skip failing SyncClusterConnection tests when running tests with auth. SERVER-4237 2011-11-22 17:45:28 -05:00
Eric Milkie
9a1d95efb4 when CreateProcess fails, show the reason why 2011-11-22 16:49:20 -05:00
Eliot Horowitz
08eb8c26f2 fix RWLockImpl on solaris 2011-11-22 14:31:35 -05:00
Eliot Horowitz
8507f25809 make profile1 test more robust 2011-11-22 14:02:38 -05:00
Spencer T Brody
36406afc64 Make sure exception thrown in test is of the right type. 2011-11-22 12:35:39 -05:00
Spencer T Brody
80865efe4d Use specific collection name for test. 2011-11-22 12:35:24 -05:00
Tad Marshall
277932b8ac Turn off precompiled header for Release x64 build of commands/cloud.cpp in Visual Studio 2011-11-22 04:03:35 -05:00
agirbal
d4bfbf83d2 make test parallel 2011-11-21 17:04:49 -08:00
Spencer T Brody
484b3745a3 Add test for growing documents when disk is full. 2011-11-21 18:05:20 -05:00
Eliot Horowitz
9a5b9cf2fa ignore sharding state on secondaries consistently SERVER-4324 2011-11-21 13:12:27 -05:00
Eliot Horowitz
d2bf8fe3fa clean some isMaster code 2011-11-21 13:12:17 -05:00
Eliot Horowitz
baa9fef42e handle non-sharded query not master errors SERVER-4324 2011-11-21 00:27:20 -05:00
Eliot Horowitz
6b7bbe84e4 test for SERVER-4324 2011-11-20 03:13:32 -05:00
Eliot Horowitz
3039d9b781 when we get a "not master" error on a command, check for new primary SERVER-4324 2011-11-20 03:12:55 -05:00
Eliot Horowitz
ee9e8115f8 don't leak connections when onCreate or onHandOut hook fails SERVER-4331 2011-11-20 02:29:13 -05:00
Tad Marshall
c67b01be01 SERVER-4304 -- Generate .CPP files from JavaScript in Visual Studio
We no longer need mongo_vstudio.cpp and it is removed from the Git
repository with this commit.  Visual Studio 2010 will now generate its
own copies of shell/mongo.cpp and shell/mongo-server.cpp.  The code
that creates these files closely mimics the jsToH function in SConstruct
such that the resulting files are identical (quirks and all).
SConstruct no longer creates shell/mongo_vstudio.cpp and Visual Studio
creates and uses the same filename as SCons (shell/mongo.cpp).  All
projects that were using mongo_vstudio.cpp will now instead generate
shell/mongo.cpp as a "Pre-Build" step.
2011-11-19 22:49:37 -05:00
Eliot Horowitz
f88174e196 Revert "dont terminate"
This reverts commit e816b2f948.
2011-11-19 17:46:33 -05:00
dwight
e816b2f948 dont terminate 2011-11-19 15:16:05 -05:00
Eric Milkie
ee660269c2 Merge branch 'master' of github.com:mongodb/mongo 2011-11-18 13:42:08 -05:00
Tad Marshall
05717037fb SERVER-3470 -- store multi-line commands in history
Convert newlines to spaces and store the entire multi-line command instead
of just the line that began the command.  Fix initial cap in error message.
2011-11-18 13:26:05 -05:00
Eric Milkie
8439d2c137 adding new scopeguard utility classes/macro
ScopeGuard helps make writing RAII easier.  You can avoid coding like this:
                try {
                    inRepair(true);
                    function_that_might_throw();
                    inRepair(false);
                }
                catch(...) {
                    inRepair(false);
                    throw;
                }

With scopeguard, the new code looks like this:
                {
                    inRepair(true);
                    ON_BLOCK_EXIT(inRepair, false);
                    function_that_might_throw();
                }

See the code comments for more details and examples.
2011-11-18 10:39:41 -05:00
agirbal
c49a08db09 replica set tests did not clean up the data folder due to bug 2011-11-17 16:51:05 -08:00
Dwight
eab212db97 preparation for having a clean collection object 2011-11-17 14:40:14 -05:00
Dwight
c4e6e5554d test more 2011-11-17 14:40:12 -05:00
Dwight
0afe00a0d5 test more 2011-11-17 14:40:11 -05:00
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