3.0 Changelog
3.0.15 Changelog
Security
SERVER-25335 0002 umask yields world-readable .dbshell history file
Sharding
SERVER-23316 Sharding tests should not rely on the order of entries returned when querying the config.shards collection
Replication
SERVER-27164 Deadlock during oplog application when implicitly creating multiple collections on the same DB
Storage
- SERVER-21480 Race condition in ttl1.js
- SERVER-23510 Fix index_retry.js and index_no_retry.js to not be timing-based
- SERVER-27493 Reverse oplog cursors can return early on wiredtiger in 3.0
- SERVER-27936 fix improper release of locks in master/slave handleDuplicateDbName
- SERVER-28357 should not enforceQuota on MMAPv1 compact
- SERVER-28548 mmap b-tree removals may cause index readers or writers to return invalid data
MMAP
- SERVER-27930 Accessing cursor with pending data after renaming collection may trigger fassert
- SERVER-27996 Accessing system.namespaces cursor with pending data after removing namespaces may cause crash
- SERVER-28022 Accessing cursor with pending data after forcing system.namespaces record move may cause crash
Build and Packaging
SERVER-27151 Hash sum mismach on Ubuntu 14.04 of 3.2.x community version
Internals
- SERVER-21933 Update README
- SERVER-23959 option to allow disabling job object creation in smoke.py for win32
- SERVER-26162 simple_snmpwalk.js can fail spuriously if serverStatus logs the string “assert”
- SERVER-27208 Update microbenchmarks to use next mongo-perf release
- SERVER-27240 ConnectBG must not close() while the background thread is active
- SERVER-27350 Enable access control for microbenchmarks in Evergreen
- SERVER-27358 Socket::connect expects _timeout field to be in milliseconds
- SERVER-27568 mongo-perf: Release 2017-01
- SERVER-27784 Remove httpget() from packager.py
- TOOLS-1605 Conditionally create a Windows job object in smoke.py
3.0.14 Changelog
Storage
WiredTiger
- SERVER-26889 Incorrect memory access on 3.0.13 triggers segmentation fault
Internals
WT-2711 Change statistics log configuration options
3.0.13 Changelog
Sharding
- SERVER-22823 authCommands.js failure - shard filtered and unfiltered doc count mismatch after migration
- SERVER-24074 Change zbigMapReduce.js on 3.0 branch to explicitly set the primary shard for the database
Replication
- SERVER-18739 Replication unit tests fail when run in parallel
- SERVER-22929 remove rollback4.js
- SERVER-23919 Database/Collection drop during initial sync can cause collmod to fail initial sync
- SERVER-26357 3.0 - increase timeouts for test noPassthrough/initial_sync_cloner_dups.js
Query
- SERVER-21869 Avoid wrapping of spherical queries in geo_full.js
- SERVER-24441 Change geo_full.js to not create points near the poles
- SERVER-24761 Queries being planned with the subplanner can ignore when the PlanExecutor is killed
- SERVER-24965 Change resync.js to expect UnknownError instead of CappedPositionLost on the 3.0 branch
- SERVER-25075 Building 2dsphere index uses excessive memory
Storage
SERVER-16910 sorth.js makes invalid assumption about order of results
MMAP
- SERVER-23277 Hotfix KB2731284 or later update is installed, Windows 7/2008R2 file allocation running slowly
Operations
SERVER-23830 On RHEL7/Centos7 mongod can’t stop if pid location in conf differs from the init.d script
Build and Packaging
- SERVER-12048 Calling “service mongod start” with mongod running prevents “service mongod stop” from working
- SERVER-18329 Add Debian 8 (Jessie) builds and associated package repository
- SERVER-20183 make mongo-tools a module in the evergreen configuration
- SERVER-23557 save and publish debug symbols for missing platforms when possible.
- SERVER-24199 build tools with gccgo on Solaris
- SERVER-24662 Update to PCRE 8.39
- SERVER-24699 Update Evergreen config to publish repos in push tasks
- SERVER-25408 update push tasks to add support for signing repository metadata
- SERVER-25424 Configuration for RedHat 5 In repository configuration for 3.2 and 3.0 is Incorrect
- SERVER-25435 repo publishing should use dedicated repo keys.
- SERVER-25594 update to latest curator build for repo publishing
- SERVER-25786 Remove buildscripts/update-vendor-wiredtier
- SERVER-25793 update curator for s3 improvements
- SERVER-25815 Remove Ubuntu 14.10 build from v3.2 and v3.0 branch
- SERVER-25908 Simplify repo.mongodb.(com|org) repository layout.
Tools
- TOOLS-715 Wrong error message while using mongoimport
- TOOLS-1034 add an “–assertExists” option to mongoexport
- TOOLS-1035 Don’t create intents for system.profile.metadata.json files
- TOOLS-1140 tools do not respect readPreference=secondary when connecting to a mongos
- TOOLS-1223 Mongodump SSL and GSSAPI authentication
- TOOLS-1268 No numeric version in –version output
- TOOLS-1276 Backport to v3.0
- TOOLS-1336 Make –version spit out a bit more information.
Internals
- SERVER-17899 basic.js / basicPlus.js (rename7.js)
- SERVER-18044 Make sharding test explicitly set primary shards for databases
- SERVER-18580 jsobj (dbtest): JsobjTests::OIDTests::FromDate failure
- SERVER-20586 repl.js creating role times out
- SERVER-22150 multiversion download script should use new feeds rather than dl.mongodb.org
- SERVER-23523 shell scripts in evergreen.yml should always exit on error
- SERVER-23524 Compare version string in compile_expansions.yml to version string from MongoDB binary
- SERVER-23819 buildlogger client requests should use basic auth instead of digest auth
- SERVER-24055 Increase wtimeout in chaining_removal.js
- SERVER-24116 Reverse indexes do not handle entries with leading null bytes
- SERVER-24422 Branches v3.0 and v3.0.11 of the mongodb/mongo repo use mongodb-mongo-master folder in evergreen.yml
- SERVER-24540 Disable update_serializability2.js on MMAPv1 in 3.0
- SERVER-24820 move push tasks to use relevant ec2 distro rather than rhel55
- SERVER-25169 for all branches earlier than master, change rhel55 compile distro to rhel55-large
- SERVER-25672 Update compile task distro for mongo-perf-3.2, sys-perf-3.2, and mongo-perf-3.0
- TOOLS-1176 –dumpDbUsersAndRoles without users creates broken dumps
- TOOLS-1182 mongooplog should report the number of ops applied
- TOOLS-1253 build with gccgo on solaris
- TOOLS-1304 vet task running on unnecessary variants
- TOOLS-1354 upgrade mgo version
- WT-2139 LSM with read-uncommitted isolation, read after free
- WT-2313 sweep-server: conn_dhandle.c, 610: dhandle != conn->cache->evict_file_next
- WT-2434 Race between force-drop and sweep
- WT-2559 Windows segfault in logging code
- WT-2633 Eviction of metadata during a checkpoint causes assertion failure in MongoDB 3.0
- WT-2708 split child-update race with reconciliation/eviction
- WT-2725 WiredTiger hitting assert trying to free update list in MongoDB 3.0
- WT-2733 Backport fixes for races between eviction and dead handle cleanup
- WT-2802 Transaction commit causes heap-use-after free
- WT-2804 Don’t read values in a tree without a snapshot
3.0.12 Changelog
Sharding
SERVER-23283 RangeDeleter does not log cursor ids correctly in deleteNow()
Query
- SERVER-7005 Documents containing keys with embedded null characters can be created
- SERVER-23807 Updates should always throw WriteConflictException on unindexing
Storage
SERVER-22970 Background index build produces an index with mismatched index keys and documents
WiredTiger
- SERVER-22831 Low query rate with heavy cache pressure and an idle collection
- SERVER-22964 IX GlobalLock being held while wating for wt cache eviction
- SERVER-23457 WiredTiger changes for MongoDB 3.0.12
Build and Packaging
SERVER-23373 Upgrade OS X builders to 10.10
Tools
TOOLS-1078 A command line option to set the dial timeout
Internals
- SERVER-18221 replsets/auth1.js fails if the wrong node is elected primary
- SERVER-23762 ValidateAdaptor::validate() should return non-OK status if it fails.
- SERVER-23946 Disable Evergreen Job Cleanup on 3.0 and 2.6 branches
3.0.11 Changelog
Sharding
SERVER-23425 Inserts and updates during chunk migration get deleted in 3.0.9, 3.0.10
Internals
TOOLS-1168 Missing 3.0.11 and 3.0.12 releases
3.0.10 Changelog
Sharding
- SERVER-18671 SecondaryPreferred can end up using unversioned connections
- SERVER-22569 Initialization of eooElement static local variable isn’t thread safe with MSVC 2013
Query
SERVER-22535 Some index operations (drop index, abort index build, update TTL config) on collection during active migration can cause migration to skip documents
Storage
- SERVER-19800 DataSizeChange forces an int into a bool
- SERVER-22634 Data size change for oplog deletes can overflow 32-bit int
WiredTiger
- SERVER-22554 WiredTiger data handles not closed when collection is dropped
MMAP
- SERVER-22261 MMAPv1 LSNFile may be updated ahead of what is synced to data files
Build and Packaging
- SERVER-22042 If ssl libraries not present, configure fails with a misleading error about boost
- SERVER-22350 Package generation failure doesn’t fail compile tasks
Tools
TOOLS-1039 mongoexport problem on data with quotes
Internals
- SERVER-22292 Use more reliable mechanism in the mongo shell to wait for process to terminate on windows
- SERVER-22328 bench_test_crud_commands.js fails due to resource contention from other resmoke jobs and low timeout values
3.0.9 Changelog
Security
SERVER-21724 Backup role can’t read system.profile
Sharding
- SERVER-19266 An error document is returned with result set
- SERVER-21382 Sharding migration transfers all document deletions
- SERVER-22114 Mongos can accumulate multiple copies of ChunkManager when a shard restarts
Replication
- SERVER-18219 “control reaches end of non-void function” errors in GCC with WCE retry loop
- SERVER-21583 ApplyOps background index creation may deadlock
- SERVER-22109 Invariant failure when running applyOps to create an index with a bad ns field
Query
- SERVER-19128 Fatal assertion during secondary index build
- SERVER-19996 Queries which specify sort and batch size can generate results out of order, if documents concurrently updated
- SERVER-20083 Add log statement at default log level for when an index filter is set or cleared successfully
- SERVER-21602 Reduce execution time of cursor_timeout.js
- SERVER-21776 Move per-operation log lines for queries out of the QUERY log component
Write Operations
SERVER-21647 $rename changes field ordering
Aggregation
SERVER-7656 Optimize aggregation on sharded setup if first stage is exact match on shard key
Storage
- SERVER-20858 Invariant failure in OplogStones for non-capped oplog creation
- SERVER-20866 Race condition in oplog insert transaction rollback
- SERVER-21545 collMod and invalid parameter triggers fassert on dropCollection on mmapv1
- SERVER-22014 index_bigkeys_nofail.js triggers spurious failures when run in parallel with other tests
WiredTiger
- SERVER-20961 Large amounts of create and drop collections can cause listDatabases to be slow under WiredTiger
- SERVER-22129 WiredTiger changes for MongoDB 3.0.9
Operations
SERVER-20358 Usernames can contain NULL characters
Build and Packaging
- SERVER-17747 FreeBSD 11.0-CURRENT build issue
- SERVER-18162 Fail to start with non-existing /var/run/mongodb/
- SERVER-18953 Generate debug symbols on OS X
Internals
- SERVER-18373 MONGO_COMPILER_UNREACHABLE should terminate if violated
- SERVER-19110 Ignore failed operations in mixed_storage_version_replication.js
- SERVER-21934 Add extra information to OSX stack traces to facilitate addr2line translation
- SERVER-21960 Include symbol name in stacktrace json when available
- SERVER-22013 coll_mod_bad_spec.js tries to pass filter to getCollectionInfos on v3.0 branch
- SERVER-22054 Authentication failure reports incorrect IP address
- SERVER-22191 Race condition in CurOp constructor (<=3.0 only)
- TOOLS-1002 oplog_rollover test is flaky
3.0.8 Changelog
Security
SERVER-21278 Remove executable bit from mongod.lock
Sharding
- SERVER-20407 findAndModify on mongoS upserts to the wrong shard
- SERVER-20839 trace_missing_docs_test.js compares Timestamp instances using < operator in mongo shell
Query
- SERVER-2454 Queries that are killed during a yield should return error to user instead of partial result set
- SERVER-21227 MultiPlanStage::invalidate() should not flag and drop invalidated WorkingSetMembers
- SERVER-21275 Document not found due to WT commit visibility issue
Storage
- SERVER-20650 Backport MongoRocks changes to 3.0
- SERVER-21543 Lengthen delay before deleting old journal files
WiredTiger
- SERVER-20303 Negative scaling at low thread count under WiredTiger when inserting large documents
- SERVER-21063 MongoDB with WiredTiger can build very deep trees
- SERVER-21442 WiredTiger changes for MongoDB 3.0.8
- SERVER-21553 Oplog grows to 3x configured size
Build and Packaging
- SERVER-10512 Add scons flag to set -fno-omit-frame-pointer
- SERVER-19755 scons should require c++11 on 3.0
- SERVER-20699 Add build manifest to every build
- SERVER-20830 set push and docs_tickets tasks as not available for patch testing
- SERVER-20834 Perf tasks should only require compiling once before execution
- SERVER-21209 PIDFILEPATH computation in init scripts fails to handle comments after values
- SERVER-21477 3.0.7 RPMs missing for yum RHEL server versions
Tools
- TOOLS-702 bsondump does not keep attribut order
- TOOLS-920 mongodump issue with temporary map/reduce collections
- TOOLS-939 Error restoring database “insertion error: EOF”
Internals
- SERVER-8728 jstests/profile1.js is a race and fails randomly
- SERVER-20521 Update Mongo-perf display names in Evergreen to sort better
- SERVER-20527 Delete resmoke.py from the 3.0 branch
- SERVER-20876 Hang in scenario with sharded ttl collection under WiredTiger
- SERVER-21027 Reduced performance of index lookups after removing documents from collection
- SERVER-21099 Improve logging in SecureRandom and PseudoRandom classes
- SERVER-21150 Basic startup logging should be done as early as possible in initAndListen
- SERVER-21208 “server up” check in perf.yml is in the wrong place
- SERVER-21305 Lock ‘timeAcquiringMicros’ value is much higher than the actual time spent
- SERVER-21433 Perf.yml project should kill unwanted processes before starting tests
- SERVER-21533 Lock manager is not fair in the presence of compatible requests which can be granted immediately
3.0.7 Changelog
Security
- SERVER-13647
root
role does not contain sufficient privileges for amongorestore
of a system with security enabled - SERVER-15893
root
role should be able to run validate on system collections - SERVER-19131
clusterManager
role does not have permission for adding tag ranges - SERVER-19284 Should not be able to create role with same name as builtin role
- SERVER-20394 Remove non-integer test case from
iteration_count_control.js
- SERVER-20401 Publicly expose
net.ssl.disabledProtocols
Sharding
- SERVER-17886 dbKillCursors op asserts on mongos when at log level 3
- SERVER-20191 multi-updates/remove can make successive queries skip shard version checking
- SERVER-20460
listIndexes
on 3.0mongos
with 2.6mongod
instances returns erroneous “not authorized” - SERVER-20557 Active window setting is not being processed correctly
Replication
- SERVER-20262 Replica set nodes can get stuck in a state where they will not step themselves down
- SERVER-20473 calling setMaintenanceMode(true) while running for election crashes server
Query
- SERVER-17895 Server should not clear collection plan cache periodically when write operations are issued
- SERVER-19412 NULL PlanStage in getStageByType causes segfault during stageDebug command
- SERVER-19725 NULL pointer crash in
QueryPlanner::plan
with$near
operator - SERVER-20139 Enable CachedPlanStage replanning by default in 3.0
- SERVER-20219 Add startup warning to 3.0 if have indexes with partialFilterExpression option
- SERVER-20347 Document is not found when searching on a field indexed by a hash index using a
$in
clause with regular expression - SERVER-20364 Cursor is not closed when querying
system.profile
collection withclusterMonitor
role
Write Operations
- SERVER-11746 Improve shard version checking for versioned (single) updates after yield
- SERVER-19361 Insert of document with duplicate
_id
fields should be forbidden - SERVER-20531 Mongodb server crash: Invariant failure res.existing
Storage
- SERVER-18624
listCollections
command should not be O(n^2) on MMAPv1 - SERVER-20617
wt_nojournal_toggle.js
failing intermittently in noPassthrough_WT - SERVER-20638 Reading the profiling level shouldn’t create databases that don’t exist
WiredTiger
- SERVER-18250 Once enabled journal cannot be disabled under WiredTiger
- SERVER-20008 Stress test deadlock in WiredTiger
- SERVER-20091 Poor query throughput and erratic behavior at high connection counts under WiredTiger
- SERVER-20159 Out of memory on index build during initial sync even with low cacheSize parameter
- SERVER-20176 Deletes with
j:true
slower on WT than MMAPv1 - SERVER-20204 Segmentation fault during index build on 3.0 secondary
Operations
- SERVER-14750 Convert RPM and DEB mongod.conf files to new YAML format
- SERVER-18506 Balancer section of printShardingStatus should respect passed-in configDB
Build and Packaging
- SERVER-18516 ubuntu/debian packaging : Release files report wrong Codename
- SERVER-18581 The Ubuntu package should start the mongod with group=mongodb
- SERVER-18749 Ubuntu startup files have an inconsistent directory for dbpath and logs
- SERVER-18793 Enterprise RPM build issues
- SERVER-19088 The –cache flag should force –build-fast-and-loose=off
- SERVER-19509 The nproc ulimits are different across packages
- SERVER-19661 Build fails: error: expected expression
Tools
- TOOLS-767
mongorestore
: error parsing metadata: call of reflect.Value.Set on zero Value - TOOLS-847
mongorestore
exits in response to SIGHUP, even when run under nohup - TOOLS-874
mongoimport
$date close to epoch not working - TOOLS-916
mongoexport
throws reflect.Value.Type errors
Internals
- SERVER-18178 Fix
mr_drop.js
test to not fail from nondeterministic collection drop timing - SERVER-19819 Update perf.yml to use new mongo-perf release
- SERVER-19820 Update perf.yml to use mongo-perf check script
- SERVER-19899 Mongo-perf analysis script – Check for per thread level regressions
- SERVER-19901 Mongo-perf analysis script – Compare to tagged baseline
- SERVER-19902 Mongo-perf analysis script – Use noise data for regression comparison instead of fixed percentage
- SERVER-20035 Updated perf_regresison_check.py script to output report.json summarizing results
- SERVER-20121 XorShift PRNG should use unsigned arithmetic
- SERVER-20216 Extend optional Command properties to SASL
- SERVER-20316 Relax thread level comparisons on mongo-perf check script
- SERVER-20322 Wiredtiger develop can lose records following stop even with log enabled
- SERVER-20383 Cleanup old connections after every ChunkManagerTest
- SERVER-20429 Canceled lock attempts should unblock pending requests
- SERVER-20464 Add units of measurement to log output of perf regression analysis
- SERVER-20691 Improve SASL and SCRAM compatibility
- TOOLS-894
mongoimport —upsert —type json
with _id being an object does not work most of the times - TOOLS-898 Mongo tools attempt to connect as ipv6 rather than ipv4 by default, when built with go 1.5
3.0.6 Changelog
Security
SERVER-19538 Segfault when calling dbexit in SSLManager with auditing enabled
Querying
- SERVER-19553 Mongod shouldn’t use sayPiggyBack to send KillCursor messages
Replication
- SERVER-19719 Failure to rollback noPadding should not cause fatal error
- SERVER-19644 Seg Fault on cloneCollection (specifically gridfs)
WiredTiger
- SERVER-19673 Excessive memory allocated by WiredTiger journal
- SERVER-19987 Limit the size of the per-session cursor cache
- SERVER-19751 WiredTiger panic halt in eviction-server
- SERVER-19744 WiredTiger changes for MongoDB 3.0.6
- SERVER-19573 MongoDb crash due to segfault
- SERVER-19522 Capped collection insert rate declines over time under WiredTiger
MMAPv1
SERVER-19805 MMap memory mapped file address allocation code cannot handle addresses non-aligned to memory mapped granularity size
Networking
- SERVER-19389 Remove wire level endianness check
Aggregation Framework
- SERVER-19553 Mongod shouldn’t use sayPiggyBack to send KillCursor messages
- SERVER-19464 $sort stage in aggregation doesn’t call scoped connections done ()
Build and Testing
- SERVER-19650 update YML files to tag system/test command types
- SERVER-19236 clang-format the v3.0 branch
- SERVER-19540 Add perf.yml file to 3.0 branch for mongo-perf regressions
Internal Code
- SERVER-19856 Register for PRESHUTDOWN notifications on Windows Vista+
Tools
mongoexport and bsondump
- TOOLS-848 Can’t handle some regexes
mongoimport
- TOOLS-874
mongoimport
$date
close to epoch not working
mongotop
3.0.5 Changelog
Querying
- SERVER-19489 Assertion failure and segfault in WorkingSet::free in 3.0.5-rc0
- SERVER-18461 Range predicates comparing against a BinData value should be covered, but are not in 2.6
- SERVER-17815 Plan ranking tie breaker is computed incorrectly
- SERVER-17259 Coverity analysis defect 56350: Dereference null return value
- SERVER-18926 Full text search extremely slow and uses a lot of memory under WiredTiger
Replication
- SERVER-19375 choosing syncsource should compare against last fetched optime rather than last applied
- SERVER-19298 Use userCreateNS w/options consistently in cloner
- SERVER-18994 producer thread can continue producing after a node becomes primary
- SERVER-18455 master/slave keepalives are not silent on slaves
- SERVER-18280 ReplicaSetMonitor should use electionId to avoid talking to old primaries
- SERVER-17689 Server crash during initial replication sync
Sharding
SERVER-18955 mongoS doesn’t set batch size (and keeps the old one, 0) on getMore if performed on first _cursor->more()
Storage
- SERVER-19283 WiredTiger changes for MongoDB 3.0.5
- SERVER-18874 Backport changes to RocksDB from mongo-partners repo
- SERVER-18838 DB fails to recover creates and drops after system crash
- SERVER-17370 Clean up storage engine-specific index and collection options
- SERVER-15901 Cleanup unused locks on the lock manager
WiredTiger
- SERVER-19513 Truncating a capped collection may not unindex deleted documents in WiredTiger
- SERVER-19283 WiredTiger changes for MongoDB 3.0.5
- SERVER-19189 Improve performance under high number of threads with WT
- SERVER-19178 In WiredTiger capped collection truncates, avoid walking lists of deleted items
- SERVER-19052 Remove sizeStorer recalculations at startup with WiredTiger
- SERVER-18926 Full text search extremely slow and uses a lot of memory under WiredTiger
- SERVER-18902 Retrieval of large documents slower on WiredTiger than MMAPv1
- SERVER-18875 Oplog performance on WT degrades over time after accumulation of deleted items
- SERVER-18838 DB fails to recover creates and drops after system crash
- SERVER-18829 Cache usage exceeds configured maximum during index builds under WiredTiger
- SERVER-18321 Speed up background index build with WiredTiger LSM
- SERVER-17689 Server crash during initial replication sync
- SERVER-17386 Cursor cache causes excessive memory utilization in WiredTiger
- SERVER-17254 WT: drop collection while concurrent oplog tailing may greatly reduce throughput
- SERVER-17078 show databases taking extraordinarily long with wiredTiger
Networking
- SERVER-19255 Listener::waitUntilListening may return before listening has started
Build and Packaging
- SERVER-18911 Update source tarball push
- SERVER-18910 Path in distribution does not contain version
- SERVER-18371 Add SSL library config detection
- SERVER-17782 Generate source tarballs with pre-interpolated version metadata files from SCons
- SERVER-17568 Report most-vexing parse warnings as errors on MSVC
- SERVER-17329 Improve management of server version in build system
- SERVER-18977 Initscript does not stop a running mongod daemon
- SERVER-18911 Update source tarball push
Shell
- SERVER-18795 db.printSlaveReplicationInfo()/rs.printSlaveReplicationInfo() can not work with ARBITER role
Logging and Diagnostics
- SERVER-19054 Don’t be too chatty about periodic tasks taking a few ms
- SERVER-18979 Duplicate uassert & fassert codes
- SERVER-19382 mongod enterprise crash running as snmp sub-agent
Internal Code and Testing
- SERVER-19353 Compilation failure with GCC 5.1
- SERVER-19298 Use userCreateNS w/options consistently in cloner
- SERVER-19255 Listener::waitUntilListening may return before listening has started
- SERVER-17728 typeid(glvalue) warns on clang 3.6
- SERVER-17567 Unconditional export of parseNumberFromStringWithBase
- SERVER-19540 Add perf.yml file to 3.0 branch for mongo-perf regressions
- SERVER-18068 Coverity analysis defect 72413: Resource leak
- SERVER-17259 Coverity analysis defect 56350: Dereference null return value
- SERVER-15017 benchRun might return incorrect stats values
- SERVER-19525 use of wrong type for size count of rolling back insert
3.0.4 Changelog
Security
- SERVER-18475
authSchemaUpgrade
fails when thesystem.users
contains nonMONGODB-CR
users - SERVER-18312 Upgrade PCRE to latest
Querying
- SERVER-18364 Ensure non-negation predicates get chosen over negation predicates for multikey index bounds construction
- SERVER-16265 Add query details to getmore entry in profiler and
db.currentOp()
- SERVER-15225
CachedPlanStage
should execute for trial period and re-plan if query performs poorly - SERVER-13875
ensureIndex()
of2dsphere
index breaks after upgrading to 2.6 (with the newcreateIndex
command)
Replication
- SERVER-18566 Primary member can trip fatal assertion if stepping down while running findAndModify op resulting in an upsert
- SERVER-18511 Report upstream progress when initial sync completes
- SERVER-18409 Retry failed heartbeats before marking a node as DOWN
- SERVER-18326 Rollback attempted during initial sync is fatal
- SERVER-17923 Creating/dropping multiple background indexes on the same collection can cause fatal error on secondaries
- SERVER-17913 New primary should log voters at default log level
- SERVER-17807 drain ops before restarting initial sync
- SERVER-15252 Write unit tests of ScatterGatherRunner
- SERVER-15192 Make all logOp listeners rollback-safe
- SERVER-18190 Secondary reads block replication
Sharding
- SERVER-18822 Sharded clusters with WiredTiger primaries may lose writes during chunk migration
- SERVER-18246 getmore on secondary in recovery mode can crash
mongos
Storage
SERVER-18442 better error message when attempting to change storage engine metadata options
WiredTiger
- SERVER-18647 WiredTiger changes for MongoDB 3.0.4
- SERVER-18646 Avoid WiredTiger checkpointing dead handles
- SERVER-18629 WiredTiger journal system syncs wrong directory
- SERVER-18460 Segfault during eviction under load
- SERVER-18316 Database with WT engine fails to recover after system crash
- SERVER-18315 Throughput drop during transaction pinned phase of checkpoints under WiredTiger
- SERVER-18213 Lots of
WriteConflict
during multi-upsert with WiredTiger storage engine - SERVER-18079 Large performance drop with documents > 16k on Windows
- SERVER-17944
WiredTigerRecordStore::truncate
spends a lot of time sleeping
HTTP Console
SERVER-18117 Bring back the _replSet page in the html interface
Build and Packaging
- SERVER-18894 OSX SSL builds should use unique filename
- SERVER-18421 Create SSL Builder for OS X
- SERVER-18312 Upgrade PCRE to latest
- SERVER-13596 Support –prefix rpm installation
Internal Code
SERVER-6826 Potential memory leak in ConnectionString::connect
Testing
- SERVER-18318 Disable
jsCore_small_oplog
suite in Windows - SERVER-17336 fix
core/compact_keeps_indexes.js
in a master/slave test configuration - SERVER-13237
benchRun
should use a thread-safe random number generator - SERVER-18097 Remove
mongosTest_auth
andmongosTest_WT
tasks from evergreen.yml
3.0.3 Changelog
Security
- SERVER-18290 Adding a read role for a user doesn’t seem to propagate to secondary until restart
- SERVER-18239
dumpauth.js
uses ambiguous—db
/—collection
args - SERVER-18169 Regression: Auth enabled arbiter cannot be shutdown using command
- SERVER-18140 Allow
getParameter
to be executed locally against an arbiter in an authenticated replica set - SERVER-18051 OpenSSL internal error when using SCRAM-SHA1 authentication in FIPS mode
- SERVER-18021 Allow
serverStatus
to be executed locally against an arbiter in an authenticated replica set - SERVER-17908 Allow
getCmdLineOpts
to be executed locally against an arbiter in an authenticated replica set - SERVER-17832 Memory leak when
mongod
configured with SSL required and handle insecure connection - SERVER-17812 LockPinger has audit-related GLE failure
- SERVER-17591 Add SSL flag to select supported protocols
- SERVER-16073 Allow disabling SSL Ciphers via hidden flag:
sslCipherConfig
- SERVER-12235 Don’t require a database read on every new localhost connection when auth is on
Querying
- SERVER-18304 duplicates on FindAndModify with remove option
- SERVER-17815 Plan ranking tie breaker is computed incorrectly
Replication
- SERVER-18211 MongoDB fails to correctly roll back collection creation
- SERVER-17273 Add support for
secondaryCatchupPeriodSecs
tors.stepdown()
shell helper
Sharding
- SERVER-17812 LockPinger has audit-related GLE failure
- SERVER-17749
collMod
usePowerOf2Sizes
fails onmongos
- SERVER-16987
sh.getRecentMigrations()
shows aborted migration as success
Storage
- SERVER-18211 MongoDB fails to correctly roll back collection creation
- SERVER-18111 mongod allows user inserts into system.profile collection
- SERVER-17939 Backport mongo-rocks updates to v3.0 branch
- SERVER-17745 Improve dirty page estimation in mmapv1 on Windows
WiredTiger
- SERVER-18205 WiredTiger changes for MongoDB 3.0.3
- SERVER-18192 Crash running WiredTiger with “cache_resident=true”
- SERVER-18014 Dropping a collection can block creating a new collection for an extended time under WiredTiger
- SERVER-17907 B-tree eviction blocks access to collection for extended period under WiredTiger
- SERVER-17892 Explicitly turn checksum on for all collections/indexes in WiredTiger by default
Indexing
- SERVER-18087 index_retry.js and index_no_retry.js not checking for presence of “progress” field in currentOp() result
- SERVER-17882 Update with key too large to index crashes WiredTiger/RockDB secondary
Write Ops
- SERVER-18111 mongod allows user inserts into system.profile collection
Networking
- SERVER-17832 Memory leak when MongoD configured with SSL required and handle insecure connection
- SERVER-17591 Add SSL flag to select supported protocols
- SERVER-16073 Allow disabling SSL Ciphers via hidden flag: sslCipherConfig
Concurrency
- SERVER-18304 duplicates on FindAndModify with remove option
- SERVER-16636 Deadlock detection should check cycles for stability or should be disabled
Geo
- SERVER-17835 Aggregation geoNear deprecated uniqueDocs warning
- SERVER-9220 allow more than two values in the coordinate-array when using 2dsphere index
Aggregation Framework
- SERVER-17835 Aggregation geoNear deprecated uniqueDocs warning
MapReduce
- SERVER-17889 Using eval command to run mapReduce with non-inline “out” option triggers fatal assertion failure
Admin
- SERVER-18290 Adding a read role for a user doesn’t seem to propagate to secondary until restart
- SERVER-18169 Regression: Auth enabled arbiter cannot be shutdown using command
- SERVER-17820 Windows service stop can lead to mongod abrupt termination due to long shutdown time
Build and Packaging
- SERVER-18344 logs should be sent to updated logkeeper server
- SERVER-18299 Use ld wrapper for compiling Enterprise GO tools in RHEL 5
- SERVER-18082 Change
smoke.py
buildlogger command line options to environment variables - SERVER-17730 Parsing of Variables on Windows doesn’t respect windows conventions
- SERVER-17694 support
RPATH=value
in top-levelSConstruct
- SERVER-17465
—use-system-tcmalloc
does not supporttcmalloc
setParameters
and extension - SERVER-17961THIRD-PARTY-NOTICES.windows` needs to be updated
- SERVER-17780 Init script sets process ulimit to different value compared to documentation
JavaScript
- SERVER-17453 warn that db.eval() / eval command is deprecated
Shell
- SERVER-17951 db.currentOp() fails with read preference set
- SERVER-17273 Add support for secondaryCatchupPeriodSecs to rs.stepdown shell helper
- SERVER-16987 sh.getRecentMigrations shows aborted migration as success
Testing
- SERVER-18302 remove test buildlogger instance
- SERVER-18262 setup_multiversion_mongodb should retry links download on timeouts
- SERVER-18239 dumpauth.js uses ambiguous –db/–collection args
- SERVER-18229 Smoke.py with PyMongo 3.0.1 fails to run certain tests
- SERVER-18073 Fix smoke.py to work with pymongo 3.0
- SERVER-17998 Ignore socket exceptions in initial_sync_unsupported_auth_schema.js test
- SERVER-18293 ASAN tests should run on larger instance size
- SERVER-17761 RestAdminAccess/NoAdminAccess objects leak at shutdown
3.0.2 Changelog
Security
- SERVER-17719
mongo
Shell crashes if -p is missing and user matches - SERVER-17705 Fix credentials field inconsistency in HTTP interface
- SERVER-17671 Refuse to complete initial sync from nodes with 2.4-style auth data
- SERVER-17669 Remove auth prompt in webserver when auth is not enabled
- SERVER-17647 Compute BinData length in v8
- SERVER-17529 Can’t list collections when
mongos
is running 3.0 and config servers are running 2.6 and auth is on
Query and Indexing
- SERVER-8188 Configurable idle cursor timeout
- SERVER-17469
2d
nearSphere queries scan entire collection - SERVER-17642
WriteConfictException
during background index create
Replication
- SERVER-17677 Replica Set member backtraces sometimes when removed from replica set
- SERVER-17672
serverStatus
command with{oplog: 1}
option can trigger segmentation fault inmongod
- SERVER-17822
OpDebug::writeConflicts
should be a 64-bit type
Sharding
SERVER-17805 logOp
/ OperationObserver
should always check shardversion
Storage
SERVER-17613 Unable to start mongod
after unclean shutdown
WiredTiger
- SERVER-17713 WiredTiger using zlib compression can create invalid compressed stream
- SERVER-17642 WriteConfictException during background index create
- SERVER-17587 Node crash scenario results in uncrecoverable error on subsequent startup under WiredTiger
- SERVER-17562 Invariant failure:
s->commit_transaction(s, NULL)
resulted in statusBadValue 22
- SERVER-17551 mongod fatal assertion after “hazard pointer table full” message
- SERVER-17532 Duplicate key error message does not contain index name anymore
- SERVER-17471 WiredTiger Mutex on Windows can block the server
- SERVER-17382 rc10/wiredTiger multi collection/DB bulk insert slow than rc8 in initial insertion phase
- SERVER-16804
mongod —repair
fails becauseverify()
returns EBUSY under WiredTiger
MMAPv1
- SERVER-17616 Removing or inserting documents with large indexed arrays consumes excessive memory
- SERVER-17313 Segfault in
BtreeLogic::_insert
when inserting into previously-dropped namespace
RocksDB
SERVER-17706 Sync new mongo+rocks changes to v3.0 branch
HTTP Console
- SERVER-17729 Cannot start
mongod
httpinterface
: sockets higher than 1023 not supported - SERVER-17705 Fix credentials field inconsistency in HTTP interface
- SERVER-17669 Remove auth prompt in webserver when auth is not enabled
Admin
- SERVER-17570 MongoDB 3.0 NT Service shutdown race condition with
db.serverShutdown()
- SERVER-17699 “locks” section empty in diagnostic log and profiler output for some operations
- SERVER-17337 RPM Init script breaks with quotes in
yaml
config file - SERVER-16731 Remove unused DBPATH init script variable
Networking
SERVER-17652 Cannot start mongod due to “sockets higher than 1023 not being supported”
Testing
- SERVER-17826 Ignore ismaster exceptions in
`initial_sync_unsupported_auth_schema.js
test - SERVER-17808 Ensure availability in
initial_sync_unsupported_auth_schema.js
test - SERVER-17433 ASAN leak in small oplog suite
write_result.js
3.0.1 Changelog
Security
- SERVER-17507 MongoDB3 enterprise AuditLog
- SERVER-17379 Change “or” to “and” in webserver localhost exception check
- SERVER-16944 dbAdminAnyDatabase should have full parity with dbAdmin for a given database
- SERVER-16849 On mongos we always invalidate the user cache once, even if no user definitions are changing
- SERVER-16452 Failed login attempts should log source IP address
Querying
- SERVER-17395 Add FSM tests to stress yielding
- SERVER-17387 invalid projection for findAndModify triggers fassert() failure
- SERVER-14723 Crash during query planning for geoNear with multiple 2dsphere indices
- SERVER-17486 Crash when parsing invalid polygon coordinates
Replication
- SERVER-17515 copyDatabase fails to replicate indexes to secondary
- SERVER-17499 Using eval command to run getMore on aggregation cursor trips fatal assertion
- SERVER-17487 cloner dropDups removes _id entries belonging to other records
- SERVER-17302 consider blacklist in shouldChangeSyncSource
Sharding
- SERVER-17398 Deadlock in MigrateStatus::startCommit
- SERVER-17300 Balancer tries to create config.tags index multiple times
- SERVER-16849 On mongos we always invalidate the user cache once, even if no user definitions are changing
- SERVER-5004 balancer should check for stopped between chunk moves in current round
Indexing
- SERVER-17521 improve createIndex validation of empty name
- SERVER-17436 MultiIndexBlock may access deleted collection after recovering from yield
Aggregation Framework
SERVER-17224 Aggregation pipeline with 64MB document can terminate server
Write Ops
- SERVER-17489 in bulk ops, only mark last operation with commit=synchronous
- SERVER-17276 WriteConflictException retry loops needed for collection creation on upsert
Concurrency
- SERVER-17501 Increase journalling capacity limits
- SERVER-17416 Deadlock between MMAP V1 journal lock and oplog collection lock
- SERVER-17395 Add FSM tests to stress yielding
Storage
- SERVER-17515 copyDatabase fails to replicate indexes to secondary
- SERVER-17436 MultiIndexBlock may access deleted collection after recovering from yield
- SERVER-17416 Deadlock between MMAP V1 journal lock and oplog collection lock
- SERVER-17381 Rename rocksExperiment to RocksDB
- SERVER-17369 [Rocks] Fix the calculation of nextPrefix
- SERVER-17345 WiredTiger -> session.truncate: the start cursor position is after the stop cursor position
- SERVER-17331 RocksDB configuring and monitoring
- SERVER-17323 MMAPV1Journal lock counts are changing during WT run
- SERVER-17319 invariant at shutdown rc9, rc10, rc11 with wiredTiger
- SERVER-17293 Server crash setting wiredTigerEngineRuntimeConfig:”eviction=(threads_max=8)”
WiredTiger
- SERVER-17510 “Didn’t find RecordId in WiredTigerRecordStore” on collections after an idle period
- SERVER-17506 Race between inserts and checkpoints can lose records under WiredTiger
- SERVER-17487 cloner dropDups removes _id entries belonging to other records
- SERVER-17481 WiredTigerRecordStore::validate should call WT_SESSION::verify
- SERVER-17451 WiredTiger unable to start if crash leaves 0-length journal file
- SERVER-17378 WiredTiger’s compact code can return ‘Operation timed out’ error (invariant failure)
- SERVER-17345 WiredTiger -> session.truncate: the start cursor position is after the stop cursor position
- SERVER-17319 invariant at shutdown rc9, rc10, rc11 with wiredTiger
MMAPv1
- SERVER-17501 Increase journalling capacity limits
- SERVER-17416 Deadlock between MMAP V1 journal lock and oplog collection lock
- SERVER-17388 Invariant failure in MMAPv1 when disk full
RocksDB
- SERVER-17381 Rename rocksExperiment to RocksDB
- SERVER-17369 [Rocks] Fix the calculation of nextPrefix
- SERVER-17331 RocksDB configuring and monitoring
Shell and Administration
- SERVER-17226 ‘top’ command with 64MB result document can terminate server
- SERVER-17405 getLog command masserts when given number
- SERVER-17347 .explain() should be included in the shell’s DBCollection help
Build and Packaging
- SERVER-17484 Migrate server MCI config into server repo
- SERVER-17463 Python error when specifying absolute path to scons cacheDir
- SERVER-17460 LIBDEPS_v8_SYSLIBDEP typo
- SERVER-14166 Semantics of the –osx-version-min flag should be improved
- SERVER-17517 mongodb-org rpm packages no longer “provide” mongo-10gen-server
Logging
SERVER-16452 Failed login attempts should log source IP address
Platform
- SERVER-17252 Upgrade PCRE Version from 8.30 to Latest
- SERVER-14166 Semantics of the –osx-version-min flag should be improved
Internal Code
SERVER-17338 NULL pointer crash when running copydb against stepped-down 2.6 primary
Testing
- SERVER-17443 get_replication_info_helper.js should assert.soon rather than assert for log messages
- SERVER-17442 increase tolerance for shutdown timeout in stepdown.js to fix windows build break
- SERVER-17395 Add FSM tests to stress yielding