Release Notes - Core Server - Version 2.1.1 - HTML format

Bug

  • [SERVER-1163] - Writing 44K records a second and mongod.exe gives 'FlushViewOfFile failed 33' warning and then a client issue
  • [SERVER-1259] - replace "assert" with "verify"
  • [SERVER-2601] - Shared client build
  • [SERVER-2602] - Logging "query admin.$cmd ntoreturn:1 command:..." shows extremely high ms response times
  • [SERVER-2988] - mongos fails to start initially when any config server is unavailable
  • [SERVER-3012] - JS "out of memory" should recover more gracefully
  • [SERVER-3350] - Allow 0.0.0.0 as the bind_ip
  • [SERVER-3434] - convertToCapped fails with journaling
  • [SERVER-3562] - moveprimary moves all databases, including sharded collections
  • [SERVER-3657] - Don't treat updates without upsert as a save() in sharding
  • [SERVER-3702] - printShardingStatus interprets database name as regular expression
  • [SERVER-3743] - hasShardKey should return false for non-exact queries on shardkey
  • [SERVER-3768] - db.addUser() appears in shell history, with cleartext passwords
  • [SERVER-3803] - btree cursor check location / key at check is invalid for v0 index
  • [SERVER-3827] - upgrade pcre WAS: pcre_exec.c: jump to label 'L_RM1' from here skips initialization of 'heapframe* newframe'
  • [SERVER-3966] - mongodump won't dump a specific db/collection using admin credentials
  • [SERVER-4194] - don't show writebacklistener in currentOps for sharded setups unless $all set
  • [SERVER-4220] - refactor getChunkManager() and sharding code to better handle parallel queries.
  • [SERVER-4231] - Building MongoDB C++ library requires unnecessary PCRE dependency
  • [SERVER-4259] - must a failure of applyOperation_inlock() be handled in ApplyOpsCmd?
  • [SERVER-4294] - ReplicaSet Intial Sync gives replSet syncTail: 11000 E11000 duplicate key error index
  • [SERVER-4312] - Add "key" missing readline/bash (EMACS-style) command line features to the shell
  • [SERVER-4332] - renameCollection across dbs doesn't replicate correctly
  • [SERVER-4334] - _DEBUG Windows version of mongod.exe crashes on ctrl-C on Windows XP and Server 2003
  • [SERVER-4367] - segfault in mongos
  • [SERVER-4385] - SyncClusterConnection should refresh sub-connections on recieving exceptions
  • [SERVER-4447] - mongos does not find one replicaset. Works after mogos restart?
  • [SERVER-4496] - boost::lock_error on mongod shutdown
  • [SERVER-4502] - No chunk splits when using findAndModify() to upsert
  • [SERVER-4535] - the jsMode of MR calls finalize without the key as first argument
  • [SERVER-4549] - MR: using both jsMode and inline mode does not yield any output
  • [SERVER-4554] - shard selection code asserts for certain unsatisfiable queries
  • [SERVER-4557] - group commit assertion 'No space left on device' in diskfull test
  • [SERVER-4612] - query idhack avoids sharding ownership information
  • [SERVER-4617] - make _pinValue error message when killCursors called during getMore better
  • [SERVER-4619] - Relinquishing primary should be done in write lock
  • [SERVER-4634] - --use-system-all (and --use-system-snappy?) don't actually use system snappy
  • [SERVER-4692] - Read-only users should be denied access to system.users collection
  • [SERVER-4711] - Don't use masserts when getChunkManager() fails to find a current chunk manager.
  • [SERVER-4715] - Check quota before deleting object to move in update
  • [SERVER-4725] - auto-migrates don't reload current sharding status...
  • [SERVER-4729] - Query params are no longer included in slow query hits to MongoDB logs
  • [SERVER-4731] - Removed replica set nodes should not appear as members of the replica set.
  • [SERVER-4742] - slowWeekly/update_yield1.js test failure
  • [SERVER-4743] - seg fault running evald.js in v8 buildbot
  • [SERVER-4744] - slowWeekly/indexbg1.js test seems to fail consistently on v8 builbot machine
  • [SERVER-4745] - Figuring out which shard to send a query to takes a long time when doing large $in queries on the shard key
  • [SERVER-4750] - Secondary syncs to another secondary that has slaveDelay > 0
  • [SERVER-4763] - Make MemberCfg::_groups set threadsafe
  • [SERVER-4770] - ensureIndex with unique and dropDups on multi-key field with multiple duplicates fails
  • [SERVER-4776] - improper application of modifiers with numerically equivalent string field names
  • [SERVER-4777] - 'weird case' assertion when mods on two nested fields are applied to a document with a duplicated field name
  • [SERVER-4783] - V8 sharding tests taking 10x as long as spidermonkey
  • [SERVER-4810] - If a replica set member with higher priority comes online, current primary relinquishes primary state
  • [SERVER-4812] - killcursor messages sent via piggyback data, which may be sent later or not at all
  • [SERVER-4829] - Compact command needs to update datasize
  • [SERVER-4838] - buildbot wrong number of inserts b/c of weird writeback thing
  • [SERVER-4843] - non user friendly assertion with skip:0
  • [SERVER-4844] - can't killop an aggregation operation
  • [SERVER-4845] - Problem using $rename on indexed fields
  • [SERVER-4853] - getMore doesn't check RS state
  • [SERVER-4859] - reenable SERVER-1900 checking in mr_killop.js test
  • [SERVER-4863] - 32-bit mongod.exe is no longer compatible with Windows XP
  • [SERVER-4864] - certain new extent sizes may crash the server
  • [SERVER-4867] - Broadcast ops should be sent to all shards
  • [SERVER-4871] - Build system depends on implicit linking to pcre
  • [SERVER-4872] - EXIT_KILL breaks systemd
  • [SERVER-4875] - fix/improve client tarball building
  • [SERVER-4879] - update_yield1.js is failing in Slow Weekly tests
  • [SERVER-4880] - frequent journal warnings with Win2008
  • [SERVER-4890] - DR102 on replication
  • [SERVER-4892] - Running server in auth mode fails to close cursors leading to cursor accumulation on the server
  • [SERVER-4907] - sparse indexes break replication of array based operators
  • [SERVER-4920] - auth3.js test failure with no blamelist
  • [SERVER-4921] - replica_set_shard_version.js failing in V8 build
  • [SERVER-4938] - unimplemented $bitand and $bitor operators
  • [SERVER-4947] - journal error - memory mismatch in closeall.js
  • [SERVER-4949] - SIGPIPE causing process termination on accept()ed connections (OSX)
  • [SERVER-4952] - mongofiles list will not display correctly when passing a database name with regex characters
  • [SERVER-4954] - Dropping a database of a sharded cluster that contains regex characters will not cleanup config docs
  • [SERVER-4955] - Sharding a collection with a database name that has a regex character can result in a error
  • [SERVER-4958] - Slave does not properly sync with master if the database name passed to --only contain regex characters
  • [SERVER-4967] - Pasting formatted documents into the shell doesn't work
  • [SERVER-4980] - covered index projection will be improperly applied when transitioning to a new $or clause in get more
  • [SERVER-4985] - connection id uses unsigned, should be long long
  • [SERVER-4987] - new bigMapReduce.js issue
  • [SERVER-4989] - MR: errors that happen during sharded post processing are ignored
  • [SERVER-4994] - can't run aggregation tests on Windows
  • [SERVER-4995] - We should link against librt on solaris
  • [SERVER-5007] - Missing file, typos, and allowing rpmbuild to leverage multiple cores
  • [SERVER-5009] - Incorrect --oplog option in RPM-based config file
  • [SERVER-5012] - Aggregation Framework $project Crashes Server when _Id is Removed in Prior $project
  • [SERVER-5013] - don't log lines over 100k
  • [SERVER-5020] - Mongo shell should check the validity of the db name for "use <dbname">
  • [SERVER-5033] - Database with auth turned on and profile = 2 on the command line does not allow "show dbs" to be run from driver
  • [SERVER-5034] - strange object behavior in v8 shell
  • [SERVER-5036] - MongoDB crashes on indexing nested array
  • [SERVER-5038] - When building on 32-bit Windows, SCons chooses 64-bit by default
  • [SERVER-5057] - Linux64 Nightly Build Fails Building/Testing C++ client driver
  • [SERVER-5061] - BSONObj and BSONElement::toString use too much stack
  • [SERVER-5062] - parallel/del.js test seems not to be running correctly
  • [SERVER-5067] - Update using positional operator fails with indexed query
  • [SERVER-5069] - ~ScopedDBConnection is vague and somewhat misleading
  • [SERVER-5071] - "smoke.py failingTests --only-old-fails --continue-on-failure" breaks on Windows
  • [SERVER-5072] - Journal rotate with paranoid journaling caused abort
  • [SERVER-5073] - replsetrestart1.js fails in 32-bit Windows
  • [SERVER-5078] - don't catch std::exception in Chunk::splitIfShould
  • [SERVER-5081] - getMostElectable can read freed memory
  • [SERVER-5093] - shard3.js memory corruption in Linux 64-bit build
  • [SERVER-5100] - writelocktry in replMasterThread may make reads hang
  • [SERVER-5102] - Newly added 'firstExample' test failing Nightly Linux 64-bit
  • [SERVER-5108] - find7.js is failing in V8 build Linux 64
  • [SERVER-5109] - slowNightly tests with auth hangs OS X builder in weekly build
  • [SERVER-5110] - ReplicaSetMonitor::check not thread safe wrt _master
  • [SERVER-5118] - better error message when can't log config changelog message
  • [SERVER-5129] - sh.waitForDLock() needs to handle no-lock case
  • [SERVER-5135] - Journal compression ratio reporting is incorrect
  • [SERVER-5140] - SConstruct new smoke_python_name() hangs compilation
  • [SERVER-5142] - double check after lock that ShardChunkManager in trySetVersion needs to be rebuilt
  • [SERVER-5147] - dumprestore9.js failing on OS X build
  • [SERVER-5151] - sharded count can return a negative value if a negative limit is supplied
  • [SERVER-5157] - Cursor id is being stored at mongos after reply is sent to client
  • [SERVER-5163] - Build failing on shard1.js test
  • [SERVER-5171] - map reduce Config::outNonAtomic may be used uninitialized
  • [SERVER-5178] - notablescan.js test fails during sharding_passthrough
  • [SERVER-5179] - shadow-utils dependency not correctly identified in mongo-10gen-server rpm
  • [SERVER-5185] - valgrind with aggregation test suite
  • [SERVER-5186] - When mongod --shutdown is issued, an incorrect message is logged
  • [SERVER-5187] - mongod --shutdown flag should ignore the fork option
  • [SERVER-5206] - isMaster.localTime asserting in dbadmin.js
  • [SERVER-5209] - can't compare values of BSON types 16 and 18
  • [SERVER-5210] - config database not restored during dumprestore9.js test
  • [SERVER-5220] - Assertion error with data sets being in same order on master and slave during drop_dups.js test
  • [SERVER-5223] - replsetprio1.js test failing on OS X buildbot
  • [SERVER-5225] - slavedelay3 test failing on V8 build machine
  • [SERVER-5238] - evalf.js test failing on dur_passthrough on V8 build
  • [SERVER-5244] - core suite fails with "not enough storage" error - Windows 32 bit
  • [SERVER-5249] - Uncaught exception in sharding_rs2.js
  • [SERVER-5250] - Assertion error in mr_errorhandling.js
  • [SERVER-5255] - client build fails on "can't find text.h"
  • [SERVER-5272] - Verify field order in processinfo_linux2.cpp
  • [SERVER-5274] - updatek.js failing in V8
  • [SERVER-5287] - Errors in MapViewOfFile() might return incomplete data in a query
  • [SERVER-5288] - use no more precision than necessary when reporting explain output
  • [SERVER-5291] - "Too many open files" causing error in core tests
  • [SERVER-5292] - Patch for SERVER-4333 for 2.0.x
  • [SERVER-5293] - Intermittent assertion failures in profile1.js and profile4.js in small oplog mode
  • [SERVER-5301] - performance regression with many indexes and few results
  • [SERVER-5305] - "point not in interval" error in geo_polygon2.js
  • [SERVER-5308] - Random seed based tests are not deterministic on windows
  • [SERVER-5310] - fassert() failure in dumprestore10.js
  • [SERVER-5316] - "assert failed : No data on shard" in dumprestore9.js
  • [SERVER-5348] - Redefinition of macros while using the C++ driver makes it unusable with larger application code
  • [SERVER-5353] - _id query on capped collection warning can be printed incorrectly
  • [SERVER-5355] - negative count limit brackets result to 0
  • [SERVER-5357] - Map/Reduce operation writes output data in primary node of replica set but not in secondary nodes
  • [SERVER-5358] - After an upgrade, --shutdown fails to shutdown the old version of mongod
  • [SERVER-5359] - initial_sync3.js failing on V8 build
  • [SERVER-5362] - ReplicaSetMonitor::notifySlaveFailure not thread safe
  • [SERVER-5369] - $project exclusion doubles _id field in console output
  • [SERVER-5384] - segfault attempting mapreduce with --noscripting
  • [SERVER-5389] - bigMapReduce.js failing (post dur changes)
  • [SERVER-5394] - balancer uses shardConnection to get config information
  • [SERVER-5395] - _balancedLastTime not reset when we have no chunks to balance
  • [SERVER-5402] - Solaris can't push
  • [SERVER-5403] - features3.js fails on countWriteBacks
  • [SERVER-5405] - mongos does not send reads to secondaries after replica restart when using keyFiles
  • [SERVER-5406] - mongos does not allow new connections for 30 seconds->a couple minutes when an rs member goes down
  • [SERVER-5409] - can't find files on Windows build
  • [SERVER-5411] - cleanbb.py failing on builds with python < 2.5
  • [SERVER-5449] - Assertion failure writing to journal file
  • [SERVER-5451] - can't build clientBuild
  • [SERVER-5469] - can leak small extents after a drop()
  • [SERVER-5480] - Mongos signal 11 crash when trying to process a writeback of a dropped collection
  • [SERVER-5495] - Changes to unittest framework breaking windows build
  • [SERVER-5499] - bench_test3.js failing on dur_passthrough
  • [SERVER-5509] - Concurrency build hanging on background.js
  • [SERVER-5531] - replica sets mod_move.js failure on Concurrency builder
  • [SERVER-5532] - Write "db level locking enabled: %u" to stderr instead of stdout
  • [SERVER-5541] - crash in C++ client driver during shutdowing primary mongo server from repset
  • [SERVER-5548] - remove1.js failing on Windows 32-bit
  • [SERVER-5549] - conc_update.js failure in slow weekly concurrency tests
  • [SERVER-5551] - indexbg1.js failing because unable to run checks in parallel with index creation
  • [SERVER-5566] - abruptQuit should use _exit
  • [SERVER-5567] - capped5.js failing on dur_passthrough
  • [SERVER-5569] - objid6.js failing on dur_passthrough
  • [SERVER-5574] - db not defined error messages appear even with --nodb
  • [SERVER-5585] - "this.awaitOk is not a function" error from ReplSetTest.awaitRSClientHosts
  • [SERVER-5594] - missed check of node index when initializing replica set with host down
  • [SERVER-5600] - Client cursor yielding assertion in geo_box1.js
  • [SERVER-5608] - MapReduce returns incorrect timeMillis and, when verbose, timing data
  • [SERVER-5610] - NumberInt missing from shell's autocomplete lists
  • [SERVER-5611] - segfault in distinct3.js
  • [SERVER-5653] - assertion in auth/auth1.js
  • [SERVER-5663] - Private pages accumulate in Windows RAM and page file when journaling
  • [SERVER-5680] - repl13.js failing on Windows 64-bit
  • [SERVER-5704] - authentication fails when local or admin are locked in auth1.js

New Feature

  • [SERVER-447] - new aggregation framework
  • [SERVER-3575] - Stuck replication condition should be made very visible
  • [SERVER-3873] - mongooplog -new tool for replaying oplogs
  • [SERVER-3921] - Add command to force a secondary to sync from a specific replica set member
  • [SERVER-3999] - Allow EDITOR for shell's edit command to be set in JavaScript
  • [SERVER-4212] - add localTime to ismaster
  • [SERVER-4435] - aggregation: need a function to reconsitute ISODates from constituent parts
  • [SERVER-4735] - Add process ID to serverStatus
  • [SERVER-5127] - Limit recursion depth of BSONObj::toString()

Task

  • [SERVER-5352] - Remove "linux only" Qualifier from mongostat faults metric
  • [SERVER-5564] - Is jstests/rs/rs_basic.js necessary?

Improvement

  • [SERVER-1589] - Add Windows Service support to mongos.exe
  • [SERVER-1600] - add gcov option to scons
  • [SERVER-2267] - RPM init script hard codes path of pid file which will change if user specifies new data directory
  • [SERVER-2581] - MR locks server for a long time in merge and reduce modes with many keys
  • [SERVER-3574] - add numactl to init scripts
  • [SERVER-3632] - dbpath should use windows syntax on windows
  • [SERVER-3637] - not in mem yield processGetMore
  • [SERVER-3884] - aggregation: add automated tests for sharded setups
  • [SERVER-4009] - The shell's new 'edit' command could edit line text as well as objects
  • [SERVER-4032] - mongos needs to report when a new replica set member is detected as primary
  • [SERVER-4150] - reimplement query using query optimizer cursor
  • [SERVER-4315] - Make sure replica set primary does not disconnect unnecessarily on reconfig
  • [SERVER-4328] - db level locking
  • [SERVER-4330] - Enable 64-bit mongo shell build in Visual Studio
  • [SERVER-4333] - Add flag to the oplog entry for migration/sharding ops
  • [SERVER-4499] - without --logappend, rotate old log
  • [SERVER-4527] - Suppress long query messages for oplog pulls
  • [SERVER-4555] - check and clean sharding utilization of queryutil code
  • [SERVER-4615] - Add hostInfo command to show host info like distribution/server architecture, memory, etc.
  • [SERVER-4621] - noBalance flag for a collection
  • [SERVER-4652] - Don't use fallocate on NFS
  • [SERVER-4659] - Always log number of duplicate documents dropped when creating index with dropDups
  • [SERVER-4660] - Display large warning in mongos when running a sharded cluster with only 1 config server
  • [SERVER-4707] - get rid of left:4 and attempt:0 from log
  • [SERVER-4733] - vague version error messages
  • [SERVER-4780] - Improve Memory Leak Warning Message
  • [SERVER-4802] - Add -Woverloaded-virtual to CXXFLAGS
  • [SERVER-4806] - check realloc calls in BufBuilder for memory allocation failure
  • [SERVER-4834] - in Date_t toString and asTM assert if time_t is 32 bits and the value is > or < INT_MAX/MIN
  • [SERVER-4841] - splitVector should be available from mongos (Hadoop Support)
  • [SERVER-4860] - Add nupdated and nscanned when printing slow updates to log
  • [SERVER-4866] - prevent Socket fd leaks
  • [SERVER-4881] - move BOOST_ENABLE_ASSERT_HANDLER from pch.h to scons
  • [SERVER-4894] - Inhibit fancy input stuff under certain TERM variables
  • [SERVER-4968] - Aggregation fails with ambiguous assertion when applied to a collection with forbidden BSON types
  • [SERVER-5008] - Prevent RPM from overwriting a locally-edited /etc/sysconfig/mongod file
  • [SERVER-5063] - $in on first compound key element and limit efficiency
  • [SERVER-5089] - aggregation needs to yield
  • [SERVER-5123] - Aggregation Framework Group uassert error messages truncate field names
  • [SERVER-5125] - Returning excessive results 64MB+ from aggregation gives a confusing error message
  • [SERVER-5152] - Windows unhandled exception filter should report thread and fault address
  • [SERVER-5172] - upgrade boost to 1.49 and import code into master
  • [SERVER-5183] - Get rid of setNoJournal
  • [SERVER-5193] - Enhance Windows unhandled exception filter reporting
  • [SERVER-5303] - yield when fetching a document for migrate
  • [SERVER-5313] - Offset heartbeat reconnects so that they are unlikely to all fail due to temporary network blip
  • [SERVER-5360] - improve error handling during initial sync
  • [SERVER-5464] - benchRun cleanup + add code to measure query latency
  • [SERVER-5547] - Fix logLevel on health poll reconnection
  • [SERVER-5554] - Make replsets/auth3 test less timing dependent
  • [SERVER-5645] - When applying changes in MigrateStatus::apply(), acquire the lock for each change, not for all changes

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.