Release Notes - Core Server - Version 3.3.14 - HTML format

Bug

  • [SERVER-7295] - renameCollection wrapper accepts wrong arguments and fails silently
  • [SERVER-16725] - Incorrect character conversion between UTF-8 and UTF-16
  • [SERVER-22106] - mongodb-org-3.2.0 on RHEL6 requires openssl>=1.0.1e
  • [SERVER-23705] - Number of databases on Windows is limited when using on-disk encryption
  • [SERVER-23936] - insertOne method accepts non-documents
  • [SERVER-23944] - Failure to commit chunk migration due to shutdown should not fassert
  • [SERVER-23972] - NumberDecimal values can be inserted in legacy write mode when featureCompatibilityVersion is 3.2
  • [SERVER-24033] - createIndexes command should write the spec of the index as created to the oplog
  • [SERVER-24081] - db.collection.explain().count() does not respect hint option
  • [SERVER-24395] - Do not display startup warnings when querying for version
  • [SERVER-24463] - make upsert commands in shard_aware*.js tests mimic the command sent by the config server
  • [SERVER-24536] - nodes can run an election while stepping down
  • [SERVER-24564] - multiVersion tests mix 3.0 nodes with master in a replica set
  • [SERVER-24600] - Mongos stalls during shutdown on Windows
  • [SERVER-24811] - replSetFreeze command can result in a crash if used during a dry-run election
  • [SERVER-24850] - The balancer frequently logs "NamespaceNotFound" warnings for dropped namespaces
  • [SERVER-24920] - Value::integral() incorrectly returns true for Decimal128(2.3)
  • [SERVER-25009] - callers of ReplicaSetMonitor::get should check if returned pointer is null
  • [SERVER-25012] - createIndex blocks for duration of checkpoint while holding locks
  • [SERVER-25131] - CollectionBulkLoaderImpl should release locks on task errors
  • [SERVER-25230] - ShardRegistry can temporarily forget newly added repl members
  • [SERVER-25312] - invalid wiredTiger configString in the createIndexes command can fassert
  • [SERVER-25314] - DBConfig::_dropShardedCollections doesn't use lock_guard for CollectionInfoMap
  • [SERVER-25335] - 0002 umask yields world-readable .dbshell history file
  • [SERVER-25403] - DataReplicator initial sync should be resilient to applier failures
  • [SERVER-25454] - Support directoryperdb for queryable_mmapv1
  • [SERVER-25519] - repl::checkForCappedOplog will segfault if the local database doesn't exist
  • [SERVER-25524] - Performance dashboard missing tickets field for mongo-perf tests
  • [SERVER-25590] - Running an aggregate command with a non-array pipeline triggers an massert
  • [SERVER-25603] - clarify asio error handling
  • [SERVER-25675] - Invariant failure pipeline.type() == Array when modifying view pipeline
  • [SERVER-25683] - Collation support does not reject invalid combinations of fields
  • [SERVER-25734] - Deadlock between the balancer and step-up/stepdown
  • [SERVER-25781] - Coverity analysis defect 99846: Don't call
  • [SERVER-25792] - mongoldap is unable to parse regular mongod config file options
  • [SERVER-25800] - StorageInterfaceImpl::insertDocuments needs to retry one-at-a-time on failures
  • [SERVER-25824] - Make auth/user_defined_roles_on_secondaries.js wait for the set to be stable before adding new roles
  • [SERVER-25825] - Authz test for user-defined roles does not properly manipulate privileges
  • [SERVER-25827] - Undefined behavior passing NaN to a NumberLong
  • [SERVER-25843] - Coverity analysis defect 99856: Redundant test
  • [SERVER-25845] - Coverity analysis defect 99859: Explicit null dereferenced
  • [SERVER-25846] - Coverity analysis defect 99861: Dereference after null check
  • [SERVER-25858] - MultiApplier::join() should wait for finish callback to complete
  • [SERVER-25864] - $facet stage should propagate calls to needsPrimaryShard()
  • [SERVER-25865] - $group operation is slow since MongoDB 3.2 on Windows
  • [SERVER-25887] - exception during autocomplete - NumberLong
  • [SERVER-25894] - _configsvrAddShard needs to be run with w:majority write concern
  • [SERVER-25895] - JS Exceptions can overflow BufBuilder
  • [SERVER-25903] - All internal ops are listed as coming from "MongoDB Shell"
  • [SERVER-25910] - fail setShardVersion on mongod if not running with --shardsvr
  • [SERVER-25912] - Add ability to turn off periodic noop writes and default it off for ReplSetTest
  • [SERVER-25914] - OplogFetcher should shutdown and join Fetcher in destructor
  • [SERVER-25916] - Disable document validation in CollectionBulkLoaderImpl
  • [SERVER-25926] - Windows audit bson output erroneously translates LF to CR LF
  • [SERVER-25937] - Writing to system.views collection should not error when featureCompatibilityVersion is 3.2
  • [SERVER-25938] - ShardLocal::runCommand variants should parse writeConcernError even when the command failed
  • [SERVER-25941] - remove library dependency graph generation from compile tasks
  • [SERVER-25949] - Repl shutdown hangs if batcher is between calls to peek() and consume()
  • [SERVER-25965] - Sharding balancer always bounces a single extra chunk if there are less than 20 chunks in total
  • [SERVER-25969] - When featureCompatibilityVersion is 3.2, a 3.4 node can't initial sync decimal data
  • [SERVER-25970] - mongod with WT does not start on Windows unless dbpath is specified
  • [SERVER-25975] - Print oplog on failures in optime.js
  • [SERVER-25977] - Increase default assert.soon timeout to 5 minutes
  • [SERVER-25978] - Shard node stepdown may delete collection metadata which is in use by active cursors
  • [SERVER-25979] - View graph invalid on WriteUnitOfWork rollback
  • [SERVER-25995] - raise timeout for priority takeover in replsets_priority1.js
  • [SERVER-25997] - Mongos may segfault at shutdown if grid object not yet initialized
  • [SERVER-26003] - Deadlock at replication stepdown involving the NoopWriter
  • [SERVER-26012] - Windows listener sends resets to connection requests during ASIO Stress Test
  • [SERVER-26022] - collMod should copy ViewDefinition before modifying
  • [SERVER-26032] - Remove unused GlobalLock constructor
  • [SERVER-26042] - Increase the timeout of ShardingTest configuration writes
  • [SERVER-26044] - Evergreen thread usage monitor should not send a signal to resmoke.py
  • [SERVER-26045] - Only configure fail points when it is necessary in catchup.js
  • [SERVER-26048] - sharding_balance3.js should wait for balancer to ack settings change
  • [SERVER-26049] - Raise default writeConcern wtimeout in db.js to 5 minutes
  • [SERVER-26051] - sharding_balance3.js should wait longer for initial balancing round
  • [SERVER-26060] - Coverity analysis defect 99881: Redundant test
  • [SERVER-26067] - ViewDefinition access outside of lock in pipeline_command.cpp
  • [SERVER-26068] - Components containing escapes truncated when instantiating LDAP queries
  • [SERVER-26076] - Increase default ReplSetTest awaitReplication() timeout to 5 minutes
  • [SERVER-26077] - Migration cloner abort does not validate the session id
  • [SERVER-26080] - top_chunk_split.js should make sure shardCollection succeeds
  • [SERVER-26081] - Clone JSON configuration objects in external_auth_WT suites
  • [SERVER-26086] - Invariant failure !conn->second.inUse in TransportLayerLegacy
  • [SERVER-26092] - make only MongosOptions and MongodOptions depend on AllFailPointsRegistered
  • [SERVER-26095] - ShardingTest::awaitBalancerRound logs the error msg incorrectly with assert.soon
  • [SERVER-26104] - setup_multiversion_mongodb.py doesn't handle downloading a particular minor version correctly
  • [SERVER-26107] - refreshMetadata should not be called when not sharded
  • [SERVER-26115] - core/profile_* tests should not create a new connection for tests
  • [SERVER-26119] - Remove itcount to count equality check from migrateBig.js
  • [SERVER-26128] - Installation on windows of version 3.3 overwrite existing 3.2 without notice
  • [SERVER-26130] - RLP memory errors cause deadlock in unittests
  • [SERVER-26132] - Ensure that the desired primary gets elected in config_version_rollback.js
  • [SERVER-26136] - disallow_adding_initialized_node2.js should handle connection refused heartbeat message in DOWN node's status or skip heartbeat message check
  • [SERVER-26137] - MongoDB NT Service hangs on stop
  • [SERVER-26138] - Do not use 'count' in shard_with_special_db_names.js
  • [SERVER-26140] - Make sure initial sync retries enough times in initial_sync_fail_insert_once.js
  • [SERVER-26144] - Add additional logging around balancer operations
  • [SERVER-26146] - jstests/replsets/clean_shutdown_oplog_state.js should use ReplSetTest.initiate()
  • [SERVER-26160] - DistLockManager deferred unlock stores StringData objects which may point to invalid memory
  • [SERVER-26164] - utf8_paths.js should not use directoryperdb always
  • [SERVER-26168] - repairDatabaseAndCheckVersion uses AutoGetCollectionForRead
  • [SERVER-26178] - temporarily blacklist shard_aware_on_set_shard_version.js from sharding_csrs_continuous_config_stepdown suite
  • [SERVER-26185] - Remove majority reads from MigrationManager and ScopedMigrationRequest
  • [SERVER-26188] - Balancer keeps config.migrations documents on stepdown, but isn't catching all possible ErrorCodes
  • [SERVER-26189] - The Balancer's operation context is not getting interrupted at stepdown
  • [SERVER-26190] - Waiting for opTime or majority read concern is not interruptible
  • [SERVER-26198] - Balancer can return Status::OK for a manual moveChunk while the migration is still waiting on waitForDelete
  • [SERVER-26204] - _configsvrMoveChunk command must fail if called with anything other than majority write concern
  • [SERVER-26222] - MigrationManager::_abandonActiveMigrationsAndEnableManager can be called in state kStopping
  • [SERVER-26223] - Slow down inserts in initial_sync_oplog_rollover.js
  • [SERVER-26227] - Increase waitForState timeouts in replicaset tests
  • [SERVER-26229] - JS Tests that call sh.disableAutoSplit() should be blacklisted from continuous stepdown suite because that function does a config write
  • [SERVER-26248] - mongod fails to start on Windows DEBUG (Unoptimized) due to bad static initialization order
  • [SERVER-26249] - replsetfreeze.js should wait for replica set to reach steady state before stepping primary down

New Feature

  • [SERVER-1635] - Faceting support
  • [SERVER-17358] - Add flag to customize maxLogLine when logging large lines
  • [SERVER-24991] - Redact streaming log messages using the 'redact' functions
  • [SERVER-25008] - Disallow repairPath with non-mmap storage engines
  • [SERVER-26251] - fix ssl_cert_password.js for validating certs

Task

  • [SERVER-22666] - upgrade procedure testing for mongod instances aware that they are part of a sharded cluster
  • [SERVER-22711] - Re-enable jstestfuzz self-tests on Evergreen
  • [SERVER-23941] - queryableBackupMode and --replSet should be incompatible
  • [SERVER-23990] - Allow BSONObj/BSONElement and Document/Value to hash with respect to a collation
  • [SERVER-23995] - Expand writeConcern-aware command list in readConcern passthrough
  • [SERVER-24325] - Remove the s/catalog/replset/ directory and move all its files to s/catalog
  • [SERVER-24508] - Make BSONObj/BSONElement and Document/Value with collations compatible for use with ordered STL containers
  • [SERVER-24527] - add test to ensure shard undergoes sharding initialization through setShardVersion
  • [SERVER-24702] - Remove remnants of ShardingCatalogManagerImpl from ShardingTestFixture
  • [SERVER-24792] - Ensure that mongos from 3.4 will refuse to talk to mongod from 3.2
  • [SERVER-24866] - Balancer should be able to recover its state after CSRS primary stepdown/crash
  • [SERVER-25002] - Wire new _configsvrMergeChunk command into Shard->ConfigServer pathway
  • [SERVER-25031] - Change MultiApplier callback to return finial status only
  • [SERVER-25127] - Remove dead TypeSensitiveSON code from resmoke hooks.py file
  • [SERVER-25156] - Create index version V2
  • [SERVER-25158] - Prevent a 3.2 mongos from joining a featureCompatibilityVersion("3.4") cluster
  • [SERVER-25159] - Default BSON validation version should depend on admin.system.version
  • [SERVER-25165] - Add Windows --dbg=on --opt=off variant to the evergreen variants
  • [SERVER-25186] - Add support for a default collation for views
  • [SERVER-25252] - Create initial sync passthrough that uses resync instead of shutting down and restarting nodes
  • [SERVER-25324] - Expose a function in the shell to compare BSON at a byte level
  • [SERVER-25415] - Add Evergreen variant for code coverage builds
  • [SERVER-25458] - unit tests for ShardingState::initializeShardingAwarenessIfNeeded
  • [SERVER-25488] - Add shell function that reports UBSan status
  • [SERVER-25526] - Merge views_authz.js into auth commands library
  • [SERVER-25563] - create MongodTestFixture and make ConfigServerTestFixture extend it
  • [SERVER-25621] - Upgrade mongodb toolchain to gcc 5.4
  • [SERVER-25632] - Add serverParameter configuration for initial sync retry params.
  • [SERVER-25688] - Allow $bucketAuto stage to spill to disk if memory usage exceeds 100MB
  • [SERVER-25725] - Running {setFeatureCompatibilityVersion: "3.4"} on a 3.4 primary should kill 3.2 secondaries
  • [SERVER-25736] - Delete Pipeline::Optimizations::Local
  • [SERVER-25737] - ESLint and clang-format "lint-patch" modes can miss files with uppercase characters
  • [SERVER-25740] - Prevent creation of views if featureCompatibilityVersion is 3.2
  • [SERVER-25741] - Disallow collection default collation if featureCompatibilityVersion is 3.2
  • [SERVER-25742] - Disallow per-op collation when featureCompatibilityVersion=3.2
  • [SERVER-25743] - Audit all upgrade/downgrade error messages for usability and dochub links
  • [SERVER-25744] - Don't log about distlock ping failures due to NotMaster on secondaries
  • [SERVER-25757] - Create aggregation passthrough that wraps each pipeline within a $facet stage
  • [SERVER-25796] - "Cloning" commands should handle views appropriately
  • [SERVER-25799] - Fix skip messages in jstests/views/views_all_commands.js
  • [SERVER-25805] - Enable primary catch-up by default
  • [SERVER-25807] - Test concurrent view creations, modifications, and drops
  • [SERVER-25808] - Test concurrent view modification for cycle detection
  • [SERVER-25811] - Send the collection version in the CommitChunkMigration command
  • [SERVER-25829] - Don't run killop.js in mmapv1 sharding_jscore_passthrough suite
  • [SERVER-25850] - Log slave progress during WC waiting for replication timed out events (testing only)
  • [SERVER-25856] - Rename _configsvr{Split,Merge}Chunks commands to _configsvrCommitChunk{Split,Merge}
  • [SERVER-25868] - Incomplete FTDC files on Windows
  • [SERVER-25871] - make ShardingStateTest extend MongodTestFixture
  • [SERVER-25872] - make DistLockCatalogFixture and ReplSetDistLockManagerFixture extend MongodTestFixture
  • [SERVER-25874] - Add serverParameter configuration for initial sync metadata retry params.
  • [SERVER-25889] - Collection validation should fail if featureCompatibilityVersion is 3.2 and the collection contains NumberDecimal values
  • [SERVER-25905] - In transition to config primary, drop all distlocks, and reacquire balancer distlocks
  • [SERVER-25915] - Log when waiting for write concern
  • [SERVER-25919] - Rewrite NetworkInterfaceASIO stress test
  • [SERVER-25934] - rename MongodTestFixture to ShardingMongodTestFixture
  • [SERVER-25946] - increase failover limit in election_timing.js
  • [SERVER-25968] - Add access control test for _configsvrCommitChunk{Split,Merge}
  • [SERVER-25971] - Test performing ops against a 3.4 sharded cluster where the shards don't have a shardIdentity doc
  • [SERVER-25972] - Usability testing for ANSA when shards have an existing incorrect shardIdentity document
  • [SERVER-25982] - Improve log message after finish event in data replicator
  • [SERVER-25993] - Update Mongo-perf (perf.yml) to use 3.2.9 baseline
  • [SERVER-26013] - Add means to the DistLockManager to restore locks during draining mode
  • [SERVER-26023] - Create unit tests for view_catalog.h/.cpp
  • [SERVER-26033] - Add startKeyInclusive option to InternalPlanner
  • [SERVER-26039] - ARMv8 builds need to enable support for the optional CRC feature
  • [SERVER-26058] - Re-enable null parameter checks in UBSAN
  • [SERVER-26062] - Default to one initial sync attempt in replicaset tests and replication passthroughs
  • [SERVER-26074] - Remove reference to variables.tf, ips.sh, and ips.py from system_perf.yml and longevity.yml.
  • [SERVER-26094] - Remove interdependence of subtests of migration_ignore_interrupts.js on collection distlocks state
  • [SERVER-26099] - Interrupt MigrationManager::finishRecovery
  • [SERVER-26141] - task blacklist config_version_rollback.js from continuous stepdown suite
  • [SERVER-26142] - disable timing checks in election_timing.js
  • [SERVER-26167] - mongo-perf: Remove wt-mmap comparison variants
  • [SERVER-26201] - Update longevity.yml to fix longevity project.
  • [SERVER-26205] - Increase log level in gle_sharded_write.js test to aid diagnosing build failure
  • [SERVER-26231] - Remove printShardingStatus call from bouncing_count.js

Improvement

  • [SERVER-14596] - BSON escape() should take a StringData
  • [SERVER-22606] - Startup warning if ext4 is used with WiredTiger
  • [SERVER-22688] - Provide a setParameter and shell option to control the js heap limit
  • [SERVER-22973] - #define MONGO_STATIC_ASSERT(cond) static_assert(cond, #cond)
  • [SERVER-23135] - js load() loses context on Syntax Errors
  • [SERVER-23506] - Vectorized character scan for FTS for power8 and s390x
  • [SERVER-23819] - buildlogger client requests should use basic auth instead of digest auth
  • [SERVER-24153] - Allow pipelines within $facet stage to process one batch at a time
  • [SERVER-25151] - mongo shell and connection string (make "ssl" work if present in the connection uri)
  • [SERVER-25268] - OplogBufferCollection should cache last pushed/popped values and tryPop() should not remove documents from collection
  • [SERVER-25551] - Aggregation batchSize can't be set on subsequent getMore in the shell
  • [SERVER-25759] - Quote appName in log output
  • [SERVER-25775] - Evergreen monitor for thread usage in system log
  • [SERVER-25789] - WiredTiger sessions should be reset before returning to the cache
  • [SERVER-25863] - remove _applierActive and flushAndPause
  • [SERVER-25888] - remove majority-snapshot usage in linearizable read
  • [SERVER-25902] - Ignore noop writes in system_profile.js
  • [SERVER-25908] - Simplify repo.mongodb.(com|org) repository layout.
  • [SERVER-25913] - hold mutex while scheduling getmore request in Fetcher
  • [SERVER-25948] - dbStats should indicate number of views
  • [SERVER-25950] - Improve performance of simple dependency extraction in ParsedDeps::extractFields()
  • [SERVER-25967] - Improve stack traces provided by mongosymb.py
  • [SERVER-26005] - FTDC shouldn't conflict with secondary application
  • [SERVER-26008] - allow setting failpoints on the command line
  • [SERVER-26011] - Use all threads for secondary applyOps
  • [SERVER-26034] - fsync+lock should never see intermediate states of secondary batch application
  • [SERVER-26041] - Use bsonBinaryEqual in checkDBHashesForReplSet
  • [SERVER-26047] - Assert that fail point is configured successfully in write_concern_util.js
  • [SERVER-26071] - log latest op in catchup.js on error
  • [SERVER-26072] - Add collation support for additional locales
  • [SERVER-26087] - _configsvrSetFeatureCompatibilityVersion should only set its own state if setFeatureCompatibilityVersion succeeded on all shards
  • [SERVER-26089] - Incorrect assertion in the migration commit code
  • [SERVER-26106] - Raise oplog socket timeout for rollback
  • [SERVER-26151] - StorageInterfaceImpl::dropCollection() shouldn't create the database if it doesn't exist
  • [SERVER-26177] - DuplicateKey Error in Balancer during manual movechunk
  • [SERVER-26240] - remove election timeout in restore_term.js
  • [SERVER-26256] - increase assert.soon() timeout in mongos_no_replica_set_refresh.js to 5 minutes

Edit/Copy Release Notes

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