summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* missing semicolonr2.4.6-rc0Ernie Hershey2013-08-081-1/+1
|
* BUMP 2.4.6-rc0Ernie Hershey2013-08-082-2/+2
|
* SERVER-10429 disable flaky test until we can fix it properlyEric Milkie2013-08-071-0/+2
|
* SERVER-10437 remove chaining.js testEric Milkie2013-08-071-57/+0
| | | | | | | It is testing functionality that has been deprecated by the new sync source updater. Also, tags.js covers testing chaining with network failures, so there is no further need for this test. chaining.js is racy with respect to the way it activates a failpoint in the socket class, which was causing the test to fail sometimes.
* SERVER-10120 remove2.js buildbot timeout too aggressiveGreg Studer2013-08-051-3/+3
|
* SERVER-8707 Sleep 10 seconds before entering ReplicaSetMonitorWatcher's loopTad Marshall2013-08-041-0/+1
| | | | | | | This restores the startup timing that was changed by commit e3b8349ec305b00bdb7107f2d887549640a15c90, while preserving the smaller time window within the loop between checking for termination and calling ReplicaSetMonitor::checkAll().
* SERVER-10137 sort1.js can't use sh.stopBalancer without a dbGreg Studer2013-08-021-1/+1
|
* SERVER-10135 sort1.js turn off balancer for manual chunk movesGreg Studer2013-08-021-1/+5
|
* SERVER-9934 remove double getmore when pulling new opsEric Milkie2013-08-021-52/+61
| | | | | | | This reduces the potential delay in ending the bgsync thread from 10 seconds to 5 seconds. This is important because assumingPrimaryness waits on this loop before changing state to PRIMARY after an election. To reduce the delay lower than 5 seconds requires further redesign of the code.
* SERVER-9714 buildbot auto2.js don't run connpoolsync before gleGreg Studer2013-08-021-1/+2
|
* SERVER-9913 protect ScopedDbConn constructor in migrate critical sectionGreg Studer2013-08-021-34/+33
|
* SERVER-8899 read-lock while updating ShardChunkManager in trySetVersion()Greg Studer2013-08-021-0/+4
|
* SERVER-10007 compile fail, toString() needed for str::stream()Greg Studer2013-08-021-1/+1
|
* SERVER-10007 better logging for dbclient_rs.cppGreg Studer2013-08-023-20/+136
|
* SERVER-8707 Stop the ReplicaSetMonitorWatcher loop on process terminationTad Marshall2013-08-021-2/+6
| | | | | | | Use StaticObserver to end ReplicaSetMonitorWatcher's loop when a program using the C++ driver exits. Move the sleep to the bottom of the loop to reduce the window between checking for termination and the call to ReplicaSetMonitor::checkAll().
* SERVER-10015 Visual Studio -- add s/config_server_checker_service.{cpp,h}Tad Marshall2013-08-024-0/+16
|
* SERVER-7728 Add more details on why a shard is 'unavailable' for balancingRandolph Tan2013-08-011-2/+12
|
* SERVER-9481 further rollback exception cleanupMatt Dannenberg2013-08-012-23/+13
|
* SERVER-9481 Fixes fluctuating between ROLLBACK and SECONDARY when ROLLBACK ↵Andreas Heck2013-08-012-5/+12
| | | | | | | | | is impossible Only leave ROLLBACK when successful and go to FATAL when ROLLBACK is impossible because we are not willing to rollback so much data Signed-off-by: Matt Dannenberg <matt.dannenberg@10gen.com>
* SERVER-9365 make forced halfway split work with chunks with many docsGreg Studer2013-08-016-10/+147
| | | | Additional test fixes.
* SERVER-10362: call ClientCursor::staticYield to do a pthread_yield rather ↵Dan Pasette2013-08-011-1/+1
| | | | than sleepmicros.
* SERVER-10211 Give stepdown.js more time for the primary to be elected after ↵Spencer T Brody2013-08-011-0/+1
| | | | a reconfig
* SERVER-10362: only use pthread_yield on linux, on osx use sleepmicros(1)Eliot Horowitz2013-08-011-6/+12
|
* SERVER-10362: add option to ClientCursor::staticYield to do a pthread_yield ↵Eliot Horowitz2013-08-012-7/+22
| | | | | | instead of sleepmicros this is mostly because of some platforms (like xen) where sleepmicros is too inaccurate
* SERVER-10313: uassert number conflict fixScott Hernandez2013-08-011-1/+1
|
* SERVER-10313: uassert if null char in js field namesScott Hernandez2013-08-012-0/+16
|
* SERVER-10103 avoid hitting socket exception in the shellEric Milkie2013-08-011-0/+3
|
* SERVER-10103 add debugging outputEric Milkie2013-08-011-1/+3
|
* SERVER-10015 balancer should stop when ConfigServerCheck indicates inconsistencyRandolph Tan2013-08-015-9/+105
| | | | | Conflicts: src/mongo/s/server.cpp
* SERVER-9699: remove clean commandEliot Horowitz2013-08-011-37/+0
| | | | | Conflicts: src/mongo/db/dbcommands_admin.cpp
* More readable SocketException::toString()Mathias Stearn2013-08-011-1/+1
|
* SERVER-9808 Fix issues found in static code analysisAndreas Nilsson2013-07-311-1/+2
|
* SERVER-10344 Skip repl/repl4.js because of race condition in master/slaveSpencer T Brody2013-07-311-1/+4
|
* SERVER-9754 Remove FILE_FLAG_WRITE_THROUGH for journal filesDmitry Naumov2013-07-291-1/+1
| | | | Signed-off-by: Tad Marshall <tad@10gen.com>
* SERVER-8030 Add IPv6 version of jstestTad Marshall2013-07-291-0/+139
|
* SERVER-8030 Validate connection string in JavaScript connect() functionTad Marshall2013-07-293-17/+148
| | | | | | | | Validate that the "URL" passed to the connect() function matches one of the accepted formats (host:port/database, host/database or database) before trying to use it to connect to a server. Change a uassert in HostAndPort::init() to an massert to match the massert four lines above it. Add jstest for connect() validation.
* SERVER-10359 Remove code page switching from Windows shellTad Marshall2013-07-291-6/+0
|
* SERVER-8926 Remove extra error text and 'L' line number prefixTad Marshall2013-07-292-2/+2
|
* SERVER-9636 Display version, not pointer valueTad Marshall2013-07-291-2/+5
|
* SERVER-9894 Add license headers to stacktrace.{cpp,h}Tad Marshall2013-07-292-2/+28
|
* SERVER-8891 Destroy static objects in a safer orderTad Marshall2013-07-292-49/+73
| | | | | | | | | | | | | | Change the order of some static objects and group them near the start of the source file, along with a comment explaining what is going on. The crashes we've seen have been due to destructors for ReplicaSetMonitors (triggered by the destruction of _sets) trying to use the _seedServers map, which had been destroyed already. By changing the order of the object definitions, we destroy _sets before destroying _seedServers, preventing the crash. There may be other cases that are not solved by this fix, and there is still a race due to the running ReplicaSetMonitorWatcher thread, so this is unlikely to be the last word on crashes of this type.
* SERVER-10261 end TCP sockets cleanlyEric Milkie2013-07-221-0/+6
| | | | | This is a partial backport of SERVER-9041's commit. In particular, this fixes an issue with SSL and the Java driver's session caching.
* SERVER-10259 Do not return pointer into temporary stringTad Marshall2013-07-191-1/+6
| | | | | Convert the location found within the temporary string into the equivalent (and correct) location in the source string.
* Visual Studio -- add new filesTad Marshall2013-07-1816-0/+128
|
* SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on ↵Tad Marshall2013-07-181-3/+0
| | | | | | | | Solaris" This reverts commit cafb1081b84aa443aa0b5c2c12d4d14eaa628a82. Fixing SERVER-8795 should make geo_update_btree.js not segfault.
* SERVER-8795 Lock mongo files in remapPrivateView on SolarisTad Marshall2013-07-182-4/+11
| | | | | Prevent other threads from touching the memory of a memory-mapped file while the file's private view is reset in remapPrivateView() on Solaris.
* SERVER-7080 Add feature test for execinfo functions to repair build of ↵Andrew Morrow2013-07-181-0/+7
| | | | client driver
* SERVER-7080 Emulate backtrace_symbols() and backtrace_symbols_fd() on Solaris 10Tad Marshall2013-07-181-1/+81
| | | | | | | | | | | | | | | backtrace_symbols() returns a block of strings, each containing a symbolic representation of a location in a stack trace; i.e. a line of a stack trace. backtrace_symbols() is allowed to (and must) allocate memory and cannot be used in a signal handler. Add code to produce lines on Solaris 10 that are similar to those produced by backtrace_symbols() on Solaris 11. backtrace_symbols_fd() writes a stack trace to a specified file descriptor. backtrace_symbols_fd() must not allocate memory and may be safely used in a signal handler. Add code to produce output on Solaris 10 that is similar to that produced by backtrace_symbols_fd() on Solaris 11.
* SERVER-7080 Add code to emulate backtrace()Tad Marshall2013-07-181-0/+42
| | | | | | | backtrace() fills a buffer provided by the caller with addresses constituting a stack trace. This emulation allows the display of addresses in Solaris 10, which can be used with addr2line to see code locations.
* SERVER-7080 Link to backtrace, backtrace_symbols and backtrace_symbols_fd at ↵Tad Marshall2013-07-188-64/+194
| | | | | | | | | runtime Do not make direct calls to backtrace, backtrace_symbols or backtrace_symbols_fd, which are present in Solaris 11 but not in Solaris 10. Instead, see if they are available in a loaded library (which will be libc.so.1) at runtime and either call them or call an emulation.