Docs Home → MongoDB Manual
3.6 Changelog
3.6.23 Changelog
Query
SERVER-40361 Reduce memory footprint of plan cache entries
Internals
SERVER-43973 jsTestName() should return a unique name for each thread in the parallel suite
SERVER-46686 Explain does not respect maxTimeMS
SERVER-50267 Set output limit for 'rawMongoProgramOutput()'
SERVER-52969 Disable Powercyle on non-master branches
SERVER-53992 Remove calls to detect-outliers from performance tasks
SERVER-54134 Ignore newer mongo versions on older branches of setup_multiversion_mongodb.py
TOOLS-2803 [v3.6] Add --config option for password values
3.6.22 Changelog
Sharding
SERVER-53182 [v3.6] Omit "versions" from {shardingState: 1} command when not running as a --shardsvr
Replication
SERVER-33747 Arbiter tries to start data replication if cannot find itself in config after restart
SERVER-52680 Removed node on startup stuck in STARTUP2 after being re-added into the replica set
SERVER-53026 Secondary cannot restart replication
SERVER-53345 Excuse arbiter_new_hostname.js from multiversion tests
Query
SERVER-32960 $mod has inconsistent rounding/truncation behavior
Storage
SERVER-52902 Remove assertion !haveJournalFiles() at dur_journal.cpp:265
Internals
SERVER-50445 Return the value as double when NumberLong subtraction overflows in ExpressionSubtract
SERVER-50891 mongod 3.6.20-rc2 core dumps if dbpath DNE or perms block
SERVER-52654 new signing keys not generated by the monitoring-keys-for-HMAC thread
SERVER-52806 deb install files assume systemd
3.6.21 Changelog
Sharding
SERVER-51808 invariant failure: readConcern level != Available
SERVER-51885 Blacklist balancing_sessions_collection.js from sharding_csrs_continuous_config_stepdown
Replication
SERVER-49986 Convert isMaster command to hello and add aliases
SERVER-49987 Rename response fields if “hello” is sent on mongod
SERVER-49988 Rename response fields if "hello" is sent on mongos
SERVER-49991 Alias printSlaveReplicationInfo() shell helper
SERVER-50116 Forbid oplog writes when replication is enabled
SERVER-50640 listCommands should return "isMaster" alias in addition to "hello" command name
Query
SERVER-51083 Problem with regex index bounds
SERVER-51120 Find queries with SORT_MERGE incorrectly sort the results when the collation is specified
Storage
SERVER-34243 listCollections should not require a MODE_S database lock
Operations
SERVER-26726 Check number of arguments for createIndex() and throw error if more than two arguments
Build and Packaging
SERVER-46342 DEB installs of MDB do not issue systemctl daemon-reload on install
Internals
SERVER-45624 Pre-split and distribute chunks of sessions collection
SERVER-50123 Record number of physical cores on all platforms
SERVER-50216 Adjust sys-perf frequencies
SERVER-50605 Add {logMessage: "msg"} test-only command
SERVER-50736 Make OpenSSL explicitly accept SNIs presented in ClientHello
SERVER-50818 Coverity analysis defect 114987: Wrapper object use after free
SERVER-51106 Make the isMaster command a derived class of hello
SERVER-51303 Lookup stage followed by $match on type uses wrong field in matching condition
TOOLS-2590 [v3.6] sslAllowInvalidHostnames bypass ssl/tls server certification validation entirely
3.6.20 Changelog
Replication
SERVER-48967 Prevent replicated writes on empty namespaces on secondaries
SERVER-49990 Alias setSlaveOk() and getSlaveOk() shell helpers
SERVER-50039 Timing error in dbadmin.js test
Query
SERVER-36910 Reduce severity or remove log message for PlanExecutor::DEAD error during find
SERVER-39392 Invariant in PlanStage::dispose always evaluates as true
SERVER-48993 explodeForSort can produce incorrect query plan
Aggregation
SERVER-40317 $facet execution has no limit on how much memory it can consume
Storage
SERVER-49449 index_restart_secondary.js is not compatible with storage engines without support for persistence
Operations
SERVER-48244 Shell should not hard-code the allowed explain levels and let the server reject it instead
Build and Packaging
SERVER-33000 Platform Support: add Ubuntu 18.04
SERVER-42042 Warn or fail early on dynamic builds with toolchain compiler and tcmalloc
SERVER-49925 Dynamic builders should not combine the mongodbtoolchain with tcmalloc
SERVER-50124 Pin lazy-object-proxy python module
Internals
SERVER-33229 Overload startParallelShell in auto_retry_on_network_error.js to connect after loading the auto_retry_on_network_error.js override
SERVER-41600 IndexCatalog::refreshEntry should invalidate the index from the CollectionInfoCache
SERVER-43233 Add ability to request only specific attribute(s) for the LDAP groups
SERVER-45202 Improve Command alias infrastructure
SERVER-47930 Ubuntu 20.04 - ldap_authz_authn.js fails to load test certificate
SERVER-48709 signing key generator thread on config server not waken up as expected
SERVER-49054 Server MSI should install Compass instead of Compass Community
SERVER-49352 4.0 does not build with python 3.8
SERVER-49404 Enforce additional checks in $arrayToObject
SERVER-50180 Fix User lifetime management in AuthorizationManager::acquireUserForSessionRefresh
3.6.19 Changelog
Sharding
SERVER-46487 The mongos routing for scatter/gather ops can have unbounded latency
SERVER-47913 Redact sharding messages in split chunk and distributed lock acquisition
Replication
SERVER-45610 Some reads work while system is RECOVERING
SERVER-47695 Write commands run by threads that can survive rollback can fail operationTime invariant in ServiceEntryPoint
Storage
SERVER-46398 Suggest explicit dbpath when starting mongod on macOS and the default dbpath isn't found
Operations
SERVER-45295 Make sure that LDAP logs always contain context on AuthZN operation
Build and Packaging
SERVER-42042 Warn or fail early on dynamic builds with toolchain compiler and tcmalloc
SERVER-48640 Update RHEL 6.2 AMI for package tests
SERVER-48659 Update SLES 12 AMI for package tests
SERVER-48681 Update Debian 8.1 AMI for package tests
Internals
SERVER-45367 When the Range Deleter is waiting for the open cursors, list these cursors in the logs.
SERVER-45508 Invariant failure in getFieldsWithStringBounds with descending point ranges
SERVER-47256 Update listed maintainer for repo package files
SERVER-47686 Upgrade static OpenSSL to 1.1.1g
SERVER-47798 Audit isMaster response validation for mongod and mongos
SERVER-48032 Update references of community mailing-lists to MongoDB Developer Community Forums
SERVER-48657 Use evergreen module to control signal processing in perf projects
SERVER-49142 Validate correct field name in RoleName::parseFromBSON()
SERVER-49335 publish_packages should use barque API key
WT-5119 Birthmark records can be read as normal updates if reads race with checkpoints
WT-5150 LAS sweep is not removing the entries that are no longer required
WT-5196 Data mismatch failures with test/checkpoint after enabling LAS sweep
WT-5376 WT_UPDATE.type field can race with visibility checks when returning key/value pairs
WT-5587 Limit how many checkpoints are dropped by a subsequent checkpoint
3.6.18 Changelog
Security
SERVER-46834 Use monotonic time in UserCacheInvalidator
Sharding
SERVER-29153 Make sure replica set nodes agree on which node is primary before doing writes in ShardingTest initialization
SERVER-33597 Make allow_partial_results.js, return_partial_shards_down.js start shards as replica sets
SERVER-44130 Flip order of assert.lte arguments in logical_time_metadata.js
SERVER-45770 Add to information contained in logfile about "moveChunk.to"
SERVER-46466 Race with findAndModify retryable write and session migration
Replication
SERVER-35050 Don't abort collection clone due to negative document count
SERVER-35437 Wait for secondary state after stepdown command in multi_rs.js
SERVER-45178 Rollback via refetch can cause rollback to happen successfully w/o updating the rollback id.
Query
SERVER-32903 Ambiguous field name error should be ignored during initial sync
SERVER-45363 Issue with mongodb text indexes and weights when using wildcard specifier
Aggregation
SERVER-45418 DocumentSourceCursor batching memory accounting does not account for empty documents, leads to unbounded memory use for count-like aggregates
Storage
SERVER-45289 Conditional jump or move depends on uninitialised value(s) in validate_adaptor.cpp
Operations
SERVER-34199 "timing" section of serverStatus can have large impact on ftdc retention
SERVER-46024 Collect /proc/vmstat swap statistics in FTDC
Build and Packaging
SERVER-45713 Run rhel7 push and publish tasks on large rhel70 distro
SERVER-45732 Filter flags from net-snmp-config invocation more aggressively
SERVER-46983 Upload repobuilding packages to correct URL
SERVER-46996 all push/publish_packages tasks should run on small hosts
Internals
SERVER-30739 config_server_checks.js should assert if initial replSetConfig fails
SERVER-37148 Remove mr_shard_version.js and mr_during_migrate.js in favor of MR FSM test
SERVER-38119 Windows dump file naming does not account for dots in directory names
SERVER-40047 Test for blocking queue should not test for non-guaranteed condition
SERVER-40305 Add diagnostic logging to max_time_ms.js
SERVER-42278 Log SockAddrs produced during LDAP connection establishment with manually derived sizes
SERVER-42525 Single-node replica sets shouldn't wait for electable caught up secondaries during shutdown
SERVER-43349 Incorrect serialization for $elemMatch $not $ne
SERVER-44325 Add polyfill for certificate chain verification
SERVER-44435 Allow x509 authorization to be selectively enabled based on the CA
SERVER-44868 Initialsync logkeeper and logkeeper-short tests should pass snapshot id and dataset link respectively to dsi(sys-perf)
SERVER-45156 SockAddr constructor should take sockaddr, not sockaddr_storage
SERVER-45472 Ensure RoleGraph can serialize authentication restrictions to BSON
SERVER-45766 Remove "requires" from the server yaml
SERVER-45867 Use latest version of signal processing
SERVER-45935 [3.6] WT error handler incorrectly prints "An unsupported journal format detected"
SERVER-46082 Use bin/analysis.py for performance projects
SERVER-46174 Free peer certificate in SSL_get0_verified_chain polyfill
SERVER-46754 Use new repobuilder service
SERVER-46766 Teardown clusters after every perf run
SERVER-46899 Fix tcmallocReleaseRate parameter in 4.0 and 3.6
SERVER-47063 Upgrade static OpenSSL to 1.1.1e
SERVER-47232 Ensure availability of Python ldap libraries
3.6.17 Changelog
Replication
SERVER-34876 initial_sync_with_write_load.js needs to await initial sync completion before reading oplog
SERVER-45396 fix the "me" field in isMaster responses when using splithorizon
Query
SERVER-42565 Aggregations and find commands sort missing fields differently
Aggregation
SERVER-42756 $multiply operator may return with or w/o an error depending on whether pipeline optimisation is enabled
SERVER-43764 Add more testing for special values in DoubleDoubleSummation
SERVER-44174 $push and $addToSet should restrict memory usage
SERVER-44733 Change stream should throw ChangeStreamFatalError if a single shard cannot be targeted for updateLookup
SERVER-44869 Add query knob to control memory limit for $push and $addToSet
Storage
SERVER-44796 Adjust nojournal startup warning to be more compelling
Build and Packaging
SERVER-37772 Platform Support: Add Community & Enterprise RHEL 8 x64
SERVER-44641 Platform Support: Remove Enterprise RHEL 7 zSeries and SLES 12 zSeries from 3.6
Internals
SERVER-34844 Relax expectations in apply_batches_totalMillis
SERVER-35099 Increase wtimeout in get_last_error.js even more
SERVER-35382 _isSelf command needs to be marked requiresAuth false
SERVER-38002 Upgrade Pcre to at least 8.42
SERVER-39131 Refactor storage engine lock file support
SERVER-42697 Expose tcmalloc_release_rate via setParameter
SERVER-43210 jstests/sharding/kill_sessions.js doesn't wait for operation to be killed.
SERVER-43246 Add a log line for when a cursor is reaped due to logical session cleanup
SERVER-44568 Update the embedded version of the server's timezone data file to tzdb-2019c
SERVER-44828 Correct logic to re-compute dependencies after absorbing a $sort into query layer
SERVER-45104 [v3.6] Fix spill_to_disk.js
SERVER-45372 Blacklist versions without majority read concern for change_streams_update_lookup_shard_metadata_missing.js
WT-4636 Fix strace in syscall test
WT-5042 Reduce configuration parsing overhead from checkpoints
WT-5120 Checkpoint hangs when reconciliation doesn't release the eviction generation
WT-5135 Change lookaside file inserts to use cursor.insert
WT-5218 Improve eviction to differentiate between clean and dirty pages with WT_CACHE_EVICT_NOKEEP readgen
WT-5239 Fix syscall failure about metadata file open
WT-5247 Ensure that only idempotent modify operations are logged
WT-5277 Cursor key out-of-order detected in the lookaside file
WT-5297 syscall.py fail on mongodb-4.0
3.6.16 Changelog
Security
SERVER-44320 Allow zoned sharding commands to be authorized via actiontypes
Sharding
SERVER-42914 Implement random chunk selection policy for balancer for use in concurrency_*_with_balancer workloads
Replication
SERVER-43193 Always disable document validation on secondaries
SERVER-44675 server_status_metrics.js fails due to racy repl.buffer.count metric in serverStatus
Query
SERVER-44571 Documents involved in SERVER-44050 corruption scenario cannot be updated or deleted after upgrade
Storage
SERVER-44584 (3.6) Rewriting updates as modifications incorrectly considers logging state
Build and Packaging
SERVER-37769 Platform Support: Add Community & Enterprise SLES 15 x64
SERVER-44392 Platform Support: Remove zSeries ubuntu 16.04
3.6.15 Changelog
Sharding
SERVER-10456 get cursor logic used to find docs to clone (in migration) is not same as in removeRange
SERVER-34760 Retries of _configsvrShardCollection may not send setShardVersion to primary shard
SERVER-36159 Log whenever the gossiped config server opTime term changes
SERVER-36222 call to ReplSetTest.restart in shard_identity_rollback.js is racy
SERVER-36315 After stepdown the CSRS dist lock manager keeps trying to unlock locks
SERVER-38205 Optimize splitVector for the jumbo-chunk case
SERVER-42783 Migrations don't wait for majority replication of cloned documents if there are no transfer mods
SERVER-42793 Autosplit size tracker random initial value is too low
SERVER-44182 Blacklist major_version_check.js from sharding_last_stable suite in 3.6
Replication
SERVER-37846 writeConcern can be satisfied with an arbiter if the write was committed
SERVER-38685 Startup warning if In-Memory SE is used and writeConcernMajorityJournalDefault is true
SERVER-38994 Step down on SIGTERM
SERVER-39310 Check canServeReadsFor in getMores
SERVER-40335 Don't wait for election handoff in ReplSetTest.stopSet()
SERVER-40355 rs.config that contains an _id greater than the number of nodes will crash
SERVER-42155 Indicate term mismatches when readConcern times out
SERVER-43109 Explicitly state nodes in awaitReplication in do_not_advance_commit_point_beyond_last_applied_term.js
SERVER-43673 Blacklist toggle_feature_compatibility.js from backup_restore.js on 3.6
SERVER-43708 Wait for nodes to become secondary in last_vote.js and slave_delay_clean_shutdown.js
Query
SERVER-39019 $elemMatch $ne serialization is incorrect, doesn't roundtrip
SERVER-40382 Add a serverStatus metric to report plan cache memory consumption
SERVER-41863 Make sleep command check that server clock has advanced before returning
SERVER-43074 Do not use a global variable to encode 'multikeyPath' information when writing out catalog documents
SERVER-43699 Find $mod can result in UB
Aggregation
SERVER-43034 Special values handling is inconsistent in DoubleDoubleSummation
Storage
SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists
SERVER-42652 Fix issue with rename collection
SERVER-43908 Modify IndexConsistency hash-map keys to avoid hitting an invariant on duplicate index keys in KeyString form for different indexes
SERVER-44188 [4.0] validate_tests should remove index entries by RecordId obtained from the cursor
WiredTiger
SERVER-35271 4.0 rc0 upgrade from 3.6.5 logs "unsupported WiredTiger file version" error
SERVER-39004 Introduce a quota mechanism for the overflow file
SERVER-40575 Improve error message when starting MongoDB 3.6 on unclean shutdown of MongoDB 4.0
Operations
SERVER-28604 Log when a cursor is reaped for exceeding the timeout
SERVER-40537 Log error code 261 for TooManyLogicalSessions to the mongodb.log
SERVER-42257 Add new shell startup banner
SERVER-43081 validate should report when an index's 'multikeyPaths' are set but the 'multikey' flag is false
SERVER-43350 The server crashes when trying to join collections ($ lookup with pipeline).
Build and Packaging
SERVER-42911 Rebuild mongodb by building.md and failed to build due to ModuleNotFoundError: No module named 'Cheetah' with MSVC on windows
Internals
SERVER-25025 Improve startup time when there are tens of thousands of collections/indexes on WiredTiger
SERVER-42075 Add DSI module to perf.yml
SERVER-42178 Disable Split Horizon HOSTALIAS testing on SLES
SERVER-42706 Test seeding secondary without sessions or transactions table
SERVER-42866 Trigger a logical session cache refresh on all shards in the ShardedCluster test fixture before running test
SERVER-42953 ttl_repl_secondary_disabled.js should prevent elections
SERVER-43151 Error in aggregation assertion at value.cpp:1368
SERVER-43240 Add DSI and mongo-perf modules to MMAP build variants in v4.0 mongo
SERVER-43634 Report different errors for missing scons and fail to import scons
SERVER-43922 ldap_authz_lib.js uses runNonMongoProgram on 3.6
SERVER-44064 Perform explicit cast on MessageCompressorManager parameter
SERVER-44183 Failure to listen on an asio socket should be fatal
SERVER-44184 De-duplicate resolved addresses on v3.6
SERVER-44312 Specify evergreen auth in performance tests for signal processing
WT-4869 Stop adding cache pressure when eviction is falling behind
WT-4881 Soften the restrictions on re-entering reconciliation
WT-4893 Fix a race between internal page child-page eviction checks and cursors in the tree
WT-4898 Don't allow the eviction server to reconcile if it's busy
WT-4956 Handle the case where 4 billion updates are made to a page without eviction
WT-4957 Revert part of a change about when pages are queued for urgent eviction
WT-5050 Assertion failure during urgent eviction of metadata page
3.6.14 Changelog
Sharding
SERVER-26531 jumbo flag in chunk can be cleared when the shard that owns it donates a chunk
SERVER-36394 mongos should reset chunk size tracking information when autosplit = false or splitvector returns too few split points
SERVER-36443 Long-running queries should not cause a build-up of unused ChunkManager objects
SERVER-36469 shard_kill_and_pooling isn't querying the shard it's supposed to
SERVER-41859 logical_time_metadata.js shouldn't assume lastApplied opTime equals $clusterTime
SERVER-41867 CatalogCache::_scheduleDatabaseRefresh/_scheduleCollectionRefresh can try to grab _mutex it already owns
SERVER-41869 Reverse mutex acquisition order in CatalogCache::_scheduleCollectionRefresh
SERVER-42793 Autosplit size tracker random initial value is too low
Replication
SERVER-38659 Race condition in IsMasterIsFalseDuringStepdown unittest
SERVER-40336 ReplicationCoordinatorImpl::_random isn't robust to replica set members being started at the same time
SERVER-41036 Make ReadWriteAbility::_canAcceptNonLocalWrites AtomicWord<bool> to prevent torn reads.
SERVER-42055 Only acquire a collection IX lock to write the lastVote document
Query
SERVER-40134 Distinct command against a view can return incorrect results when the distinct path is multikey
SERVER-41065 Make agg evaluate() thread safe by passing 'Variables' as a parameter
SERVER-41829 findAndModify ignores filter expressions that are not objects
Storage
WiredTiger
SERVER-41913 Avoid in-place modify operations for logged collections
Operations
SERVER-36099 FTDC for mongos is unworkably large for large installations
Build and Packaging
SERVER-36043 systemd unit for mongod starts before multi.user target
SERVER-40563 Our init scripts check /proc/[pid]/stat should validate that (${procname})
is the process' command name.
SERVER-41424 scons should fail early if invoked with wrong Python interpreter
SERVER-41443 Update Enterprise License
SERVER-41743 Update MSI inclusions for 3.6
SERVER-42089 Platform Support: Remove Enterprise RHEL 6.7 zSeries from 3.4 and 3.6
SERVER-42109 Add Ubuntu 14.04 to v3.6
SERVER-42233 Bump Windows package dependencies
SERVER-42603 Recent service file change may cause cyclic dependencies
Internals
SERVER-26626 In external_auth_WT JSTests, ensure that Saslauthd has fully started before continuing test
SERVER-35067 Blacklist explain2.js from retryable writes jscore stepdown suite
SERVER-37984 Upgrade yaml-cpp >= 0.6.0
SERVER-38141 Incorrect usage of MONGO_CONFIG_HAS_SSL_SET_ECDH_AUTO prevents enabling of elliptic curve auto negotiation
SERVER-39642 Decrement egress counter when scoped connection not returned to the pool
SERVER-40156 Initial implementation of Split Horizon
SERVER-40643 Add tests for replSetConfig
and replSetInitiate
with Split Horizon
SERVER-40645 Add tests for SNI/TLS behavior of Split Horizon
SERVER-40923 Remove npm test command from "run jstestfuzz" Evergreen function
SERVER-40924 Add Evergreen task to sanity check fuzzer can parse JavaScript tests
SERVER-41004 killSessions command can return CursorNotFound error for successful kill
SERVER-41016 Calculate deltas for updates to large documents
SERVER-41075 Remove 'mongo/repl/replication_coordinator.h' from op-context inclusion path
SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter
SERVER-41184 Add metrics to indicate the amount of sharded updates done with only _id in query
SERVER-41349 Add a log statement for slow dns resolution
SERVER-41401 patch_files.txt doesn't distinguish between enterprise and community files
SERVER-41442 Fix second race in umask.js
SERVER-41546 SysV init scripts should verify PIDfile exists instead of failing
SERVER-41624 Fix Split Horizons on Legacy Transport in v3.6
SERVER-41680 Propagate ${branch_name} Evergreen expansion to fuzzer invocation
SERVER-41753 Fix indexc.js to not depend on the clock always moving forward
SERVER-41789 sys-perf: Use bootstrap.overrides in bootstrap.yml config file
SERVER-41833 Update README license text
SERVER-41967 Symlink /data to Z instead of C
SERVER-42178 Disable Split Horizon HOSTALIAS testing on SLES
SERVER-42228 LoggerRuntimeConfigError exceptions can lead to background dbhash thread running until Evergreen task times out
WT-4352 Resolve birthmarks during eviction in more cases
WT-4421 Add a way to calculate modify operations
WT-4693 WT_CONNECTION::reconfigure should not require quiescence when downgraded
WT-4706 Add a statistic to track the lookaside table size
WT-4750 Sweep can remove active lookaside records when files are closed and re-opened
WT-4759 Save a copy when an old overflow value is discarded
WT-4768 Inconsistent data with lookaside eviction followed by sweep
WT-4769 Don't discard active history for empty pages
WT-4776 Modify operations should be equivalent to updates
WT-4794 Mark lookaside history resolved in all paths
WT-4803 Implement file_max configuration for Cache Overflow mechanism
WT-4823 Add check for uninitialised lookaside resources
WT-4848 Fix perf regression when calculating differences
3.6.13 Changelog
Sharding
SERVER-36004 SessionUpdateTracker should ignore no-op entries for pre/post image oplogs
SERVER-36457 mongos_rs_shard_failure_tolerance.js test should assert that the movePrimary command succeeds
SERVER-39420 Remove in-memory boolean to indicate config.server.sessions collection set up
SERVER-40136 The background key generator can remain disabled on FCV upgrade after a downgrade
Replication
SERVER-35636 Renaming collection for applyOps needs to check completeness of target namespace
SERVER-37065 Report ismaster:false in isMaster command response immediately upon learning of a new term
SERVER-39831 Never update commit point beyond last applied if learned from sync source
SERVER-40628 Initial sync could fail under replsetprio1.js settings
SERVER-40788 Improve logging around replication catchup
SERVER-40977 mmapv1 and ephemeralForTest variants should exclude tests with requires_majority_read_concern tag
SERVER-41081 do_not_advance_commit_point_beyond_last_applied_term.js must wait for Node E to reach stopReplProducerOnDocument failpoint
SERVER-41247 do_not_advance_commit_point_beyond_last_applied_term.js must not run with periodic noop writer on
SERVER-41342 read_committed_stale_history.js must perform continuous writes to ensure majority commit point propagates to secondary
Storage
SERVER-16571 Use Actual Memory Constraint vs. Total System Memory When They Differ
SERVER-30356 Improve error reporting for validation
SERVER-41213 Unique background index builds may produce inconsistent keys
Operations
SERVER-39820 Add the client IP address to the successful authentication log message
SERVER-40866 Use JSON.stringify() to serialize string in tojson()
Internals
SERVER-37382 printShardingStatus.js races with ShardingUptimeReporter thread
SERVER-38984 Attach IDs to users
SERVER-39746 System-Performance: Write project in runtime.yml
SERVER-40052 Shutdown in mongos can trigger BatchWriteOp invariant
SERVER-40165 generate wtimeout deadlines with the precise clock
SERVER-40514 Race between BufferedHandler.close() and BufferedHandler.flush() leads to resmoke.py hanging with --log=buildlogger
SERVER-40922 Add npm install command to "run jstestfuzz" Evergreen function
SERVER-40932 Increase timeout for shutting down the ServiceExecutor
SERVER-41088 Propagate Evergreen order field to Cedar for system perf
SERVER-41103 Fix fuzzer task invocations
SERVER-41169 Most powercycle testing for Linux was removed from Evergreen
TOOLS-2068 mongodump oplog delay
3.6.12 Changelog
Sharding
SERVER-35219 Regain MongoDB balancer performance with sessions
SERVER-39847 Migrating session info can trigger fassert when destination shard has transaction history truncated by oplog
SERVER-39932 SessionRuntimeInfo memory is not being released
Replication
SERVER-37255 replSetReconfig with concurrent election can trigger invariant
SERVER-38722 CollectionCloner should handle QueryPlanKilled on collection drop
SERVER-39490 opWriteConcernCounters can cause undefined behavior due to overflow
SERVER-39641 Blacklist max_time_ms.js from read concern linearizable passthrough
SERVER-39758 double_rollback.js should reliably wait for node 0 to complete rollback
SERVER-40039 Increase assert.soon timeout in initial_sync_invalid_index_spec.js
Query
SERVER-38764 External sorter should use 64-bit integers for file offsets
Aggregation
SERVER-39394 Views collation check should traverse through nested $lookup pipelines
SERVER-39487 Aggregation operator $sqrt output for NumberDecimal is the same as $exp
Storage
SERVER-17010 Reduce file handle usage in File based Sorter
SERVER-39773 decrease number of updates in rollback_wt_cache_full.js
Operations
SERVER-37722 Quiet mode does not suppress connection end events
SERVER-40131 Incorrect format string in Windows stacktrace generator.
SERVER-40259 Include third party notices for ASIO and variant
Build and Packaging
SERVER-36622 Package tests fail for newer Ubuntu
Tools
TOOLS-2229 Mongofiles deletes chunks of existing file when failing to put_id with existing _id
Internals
SERVER-36231 Mongos write path doesn't look for retryable write concern errors
SERVER-36437 The dbstats command should lock the database in MODE_IS instead of MODE_S
SERVER-36750 blacklist memory.js on ppc64le in memory variants
SERVER-37620 Improve watchdog_test reliability
SERVER-38644 Guard against ephemeral files disappearing during umask test
SERVER-38697 Powercycle kill by PID might try to kill the wrong process
SERVER-38789 Accept connection failure on Windows in ssl_alert_reporting.js
SERVER-39056 Further refine readWriteAnyDatabase
SERVER-39058 Synchronize user set modification in AuthorizationSession with Client
SERVER-39822 Improve watchdog_test.exe test reliability
SERVER-40063 jstestfuzz_sharded_continuous_stepdown.yml is running with a 1-node CSRS on the 3.6 branch
SERVER-40076 Tag JavaScript tests with the reason they're unable to run in Atlas
WT-4324 Ensure checkpoints rewrite pages with data in the future
WT-4615 Sync backup file before returning backup cursor
3.6.11 Changelog
Security
SERVER-36606 Remove size limits on BSON audit events
Sharding
SERVER-9043 Link flushRouterConfig
on the config server and shards
SERVER-31156 Admin command to update the chunk metadata for only one collection
SERVER-36863 query_config.js assumes that config.mongos is always present
SERVER-36901 sh.status() "Last reported error:" is actually 5th Latest error message
SERVER-37339 Sharding state is set to initialized on Grid before sharding components are fully initialized
SERVER-37624 Sessions never expire when you change value of localLogicalSessionTimeoutMinutes
SERVER-38192 Ignore duplicate key error from refreshLogicalSessionCacheNow
SERVER-38344 Early release of distributed database locks during initial collection sharding results in migration/split failures
SERVER-38387 agg_out.js concurrency workload always fails to shard the output collection
SERVER-38784 Blacklist verify_sessions_expiration_sharded.js from the sharding_last_stable_mongos_and_mixed_shards suite.
SERVER-39030 Wrong info logged by splitVector
Replication
SERVER-32146 Log slow oplog entry application
SERVER-35608 Invariant that term from lastAppliedOptime is never greater than our current term
SERVER-37274 commands_that_accept_wc tests can give secondaries priority zero
SERVER-37910 Create new serverStatus metric for number of operations applied on a secondary that's incremented at batch boundaries
SERVER-37915 Replication doesn't update opsCounterRepl command on secondaries
SERVER-38200 Fix ./jstests/replsets/initial_sync_oplog_hole.js to prevent using stale heartbeat info in the test.
SERVER-38647 backup_restore_rolling.js can fail due to stepdown
SERVER-38998 Create serverStatus metrics for readConcern and writeConcern
SERVER-39142 ServerWriteConcernMetrics must lock _mutex before modifying members
SERVER-39267 Guard opWriteConcernCounters behind flag
SERVER-39286 server_write_concern_metrics.js must use requires_journaling tag
Query
SERVER-38275 Handle explains without namespaces
SERVER-39472 Backport changes to apply_ops_concurrent_non_atomic.js to account for HMAC key inserts in 3.6 and 4.0.
Aggregation
SERVER-31098 Wrong ns in system.profile for aggregation query
SERVER-39109 mongod crash: Invariant failure !_exec src/mongo/db/pipeline/document_source_cursor.cpp 295
SERVER-39166 $graphLookup should force a pipeline to split in sharded cluster
SERVER-39322 Backport timelib fix for incorrect snprintf invocation with static buffer
Storage
SERVER-35732 Hyphenated database names do not work with dbStats.fsUsedSize / TotalSize
SERVER-38779 Build a mechanism to periodically cleanup old WT sessions from session cache
SERVER-38801 Cope with large BSON blobs in queryable's listDirectory
call.
Build and Packaging
SERVER-33958 When using thin archives the --cache=nolinked mode should push thin archives to the cache
SERVER-38416 Upgrade static OpenSSL to 1.1.1a
SERVER-39483 Stripped binaries and .debug files should not be cached
Internals
SERVER-31755 Raise intermediate $lookup document size to 100MB, and make it configurable
SERVER-35620 downloaded file integrity: use shasum instead of python script
SERVER-38748 Background indexes created through applyOps should run on the command thread
SERVER-38954 Increase query execution time for the test case in max_time_ms.js that expects it to hit the time limit
SERVER-39009 Make bulldlogger credentials location configurable via environment variable
SERVER-39031 Make SCons default --jobs to CPU count
SERVER-39331 Remove StressTest from network_interface_asio_integration_test
TOOLS-1906 Ignore mongorestore error "x509 certificate routines:X509_STORE_add_cert:cert already in hash table"
TOOLS-2158 mongodump failing on Windows with "error opening system CA store: Access is denied."
TOOLS-2167 Add CGO flags for building on Windows
TOOLS-2168 Add CGO flags for building on MacOS
TOOLS-2210 Build with tools with Address Space Layout Randomised (ASLR) flags enabled
WT-4483 Improve caching of small updates to large values
3.6.10 Changelog
Security
SERVER-35212 URI connection does not default to admin database when no authSource is specified
SERVER-37687 Capture libldap ErrorString in bind failure
Sharding
SERVER-36965 Ensure setUp writes in safe_secondary_reads_single_migration_suspend_range_deletion.js
get propagated to the shard secondary
SERVER-37051 ShardServerCatalogCacheLoader does not check the internal term after reading from the task queue
SERVER-37080 Implement tuneable batch size for chunk migrations
SERVER-37511 Logical session reaper and refresh threads should set up sessions collection immediately
SERVER-37616 Implement tuneable batch size for the rangedeleter
SERVER-37902 recovering_slaveok.js should assert all writes it makes succeed
SERVER-37932 Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes
SERVER-38050 The range deleter doesn't validate it is still operating on the same collection after the deletion loop
SERVER-38062 Add assert.commandWorked() to commands in read_pref_cmd.js
SERVER-38196 Coverity analysis defect 105128: Unchecked return value
SERVER-38371 Session catalog migration will skip later sessions if a different earlier session encounters new transaction
Replication
SERVER-37500 Blacklist geo_s2ordering from replica_sets_kill_primary_jscore_passthrough suite
SERVER-37557 Add startup warning about enableMajorityReadConcern and usage of arbiters
SERVER-37935 Remove read concern "majority" overrides for change streams test suites
SERVER-38024 initial_sync_oplog_hole test should be tagged as requiring document locking
SERVER-38476 Increase timeout for clean_shutdown_oplog_state.js, again
Query
SERVER-35455 QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer
SERVER-37385 Change max_time_ms.js to tolerate 'Interrupted' error codes
SERVER-38070 Infinite loop in aggregation expression
SERVER-38164 $or pushdown optimization does not correctly handle $not within an $elemMatch
SERVER-38601 Add regression test for memory leak during planning
Aggregation
SERVER-37182 Different values when referencing whole object vs. a field of that object after $arrayToObject
SERVER-37200 $match stage following $listSessions not working against mongos
SERVER-37750 Optimized $sample stage does not yield
SERVER-38843 Mapreduce should not create collections with duplicate IDs
JavaScript
SERVER-31508 native_sleep used by JavaScript should be interruptable
SERVER-35061 Javascript sleep should always emit an error when interrupted
Storage
SERVER-29825 Do not allow rename from unreplicated to replicated DB or vice-versa
SERVER-36873 ReplicationCoordinatorExternalStateImpl::shutdown() must not hold _threadMutex while waiting for _taskExecutor
SERVER-36968 Rebuild interrupted indexes before checking AuthZN index presence
SERVER-37408 Add afterClusterTime to initial sync collection scans
SERVER-37524 In-Memory Storage Engine With Storage Watchdog Crashes The Server
SERVER-37862 Reduce update ops in initial_sync_wt_cache_full.js
SERVER-37930 Add test coverage for createIndexes inside nested applyOps
SERVER-37931 lock_stats_suboperation_logs.js should ignore noise lock stats
SERVER-38434 queryableBackupMode and wiredTigerEngineConfigString flags are incompatible
SERVER-38498 decrease number of updates in rollback_wt_cache_full.js
Operations
SERVER-33469 Make syslog log lines consistent with mongod log lines
SERVER-35485 Mongo Shell does not accept compressors connection string argument
SERVER-36977 Initial mongod.log is created using umask vs mode 600
Build and Packaging
SERVER-35936 MongoDB Community Windows installer fails to install Compass
SERVER-38421 Requirement on cryptography should reflect what is in the toolchain
SERVER-38726 Add stable toolchain variables files
Tools
TOOLS-1709 Set build version and git revision using -ldflags
TOOLS-2149 Configure build outside Evergreen
Internals
SERVER-32424 Use WiredTiger cursor caching
SERVER-34770 Retry on JavaScript execution interruptions in stepdown suites
SERVER-35768 gssapiServiceName URL parameter does not work
SERVER-36060 Make unit tests build cleanly on clang-6
SERVER-36817 replSetFreeze command run by stepdown thread may fail when server is already primary
SERVER-37120 Turn off linux-replSet-initialsync-logkeeper Build Variant for 3.4 and 3.6 branches
SERVER-37241 Add testing to verify proper expiration of sessions in the sessions collection
SERVER-37289 Use authenticated client to run the refreshLogicalSessionCacheNow command in resmoke sharded cluster fixture
SERVER-37391 plan_cache_index_create.js should wait for index build start, rather than just createIndexes command start
SERVER-37490 Increase the ConnectTimeout for powercycle
SERVER-37562 Reduce all IX locks to IS locks in SessionsCollectionRS
SERVER-37678 Update linter to enforce SSPL in header files
SERVER-37913 coll_epoch_test1.js does not wait for the config server to replicate after dropping collections.
SERVER-37916 Make legacy transport layer Sockets log hostnames in TLS version negotiations
SERVER-38055 Mongod servers started through the shell do not respect TestData.enableMajorityReadConcern
SERVER-38159 Blacklist umask nopassthrough test on mmapv1
SERVER-38178 Buffer Overflow in data_builder.h when using terminated StringDatas
SERVER-38230 Put secondary_reads_passthrough task in the right build variants
SERVER-38303 Temporarily handle ipv6 failures due to s390x machine without ipv6 enabled
SERVER-38390 Set requiresAuth to false for certain commands
SERVER-38415 checkLog.containsWithCount does not reset count before each loop of assert.soon
SERVER-38616 LDAPArrayIterator behaves incorrectly when initialized with an empty array
TOOLS-1566 Should not include "ssl" tag for Linux 64 build
TOOLS-1742 import cycle between util and testutil
TOOLS-1996 Allow building tools from inside an ordinary GOPATH
TOOLS-2099 Tools jstests failing on replica set shutdown
TOOLS-2155 Set version/git-commit via ldflags in Evergreen and Server Evergreen
TOOLS-2157 Update server vendoring
WT-4333 WiredTiger cursor cache doesn't handle all possible locked handle states
WT-4340 The cursor caching layer can incorrectly release too many handle locks
WT-4343 Unlock when sleeping to allow other log threads to make progress
WT-4411 Added connection statistic for current total of cached cursors
WT-4418 Don't keep key/value memory buffers allocated for cached cursors
WT-4438 Use more accurate statistics for cursor cache totals
3.6.9 Changelog
Security
SERVER-35418 Allow specifying CAs for incoming and outgoing connections separately
SERVER-37135 TLSVersionCounts needs to track and report TLS 1.3
Sharding
SERVER-29160 Sharding commonly uses write concern timeouts of 15 seconds and these are timing out in migration related operations and causing BFs
SERVER-31563 Reevaluate not_allowed_on_sharded_collection_cmd.js testing
SERVER-31892 moveChunk with waitForDelete
doesn't wait for majority write concern
SERVER-35222 Crash on the config server at expired session cleanup
SERVER-35238 Drop the collection after removing the partially written chunks for mapReduce in mongos_manual_intervention_actions.js
SERVER-35763 lastWriteDate field can get out of sync between repl set nodes during migration
SERVER-36831 LogicalSessionCache on mongos does not correctly report active operations
SERVER-36850 Add a replication passthrough suite to detect errors in LogicalSessionsCache
SERVER-37330 Add sharded passthrough suites to detect errors in LogicalSessionCache
SERVER-37430 Destroy sharding task executors and AsyncRequestSenders after the PeriodicRunner is destroyed in mongod shutdown
SERVER-37496 The balancer shouldn't register a shutdown task after the process is multithreaded
SERVER-37631 Disable logical sessions if FCV is 3.4
SERVER-37657 Report the offending oplog entries if a batch contains non-increasing transaction numbers
SERVER-37735 [3.6] Ensure the full logical session id is included in commands sent by the ShardingTaskExecutor
Replication
SERVER-20845 re-add replSetReconfig to auditing suite
SERVER-25175 listIndexes shouldn't include in-progress background indexes
SERVER-33383 Execution of replSetStepDown can race with unconditional stepdown via heartbeat response
SERVER-34362 ReplicaSetCoordinatorExternalStateImpl::_dropAllTempCollections() needs to log failed db.
SERVER-34868 A cursor with the "exhaust" option does not return documents inserted in the same txn
SERVER-35239 AwaitData cursor must handle getMore from client with higher lastKnownCommittedOpTime
SERVER-36503 Skip dry-run election during election handoff
SERVER-36694 Do not hand off elections when in PV0
SERVER-36746 A failed step down attempt shouldn't unconditionally reset LeaderMode to kMaster
SERVER-36978 TaskRunner must ensure Client is initialized for thread before running tasks
SERVER-37118 Coverity analysis defect 105000: Arguments in wrong order
SERVER-37147 sessions_collection_auto_healing.js should use 2 node replica set
SERVER-37152 Increase write concern timeouts for writes expected to succeed in tags.js
SERVER-37227 Reintroduce enableMajorityReadConcern:false server parameter
SERVER-37396 make rollback_auth.js more robust
Query
SERVER-13946 Consider putting skip stages below fetch stages
SERVER-32943 Query during background index build can lead to suboptimal cached plan
SERVER-36435 Increase maxTimeMS timeout in awaitdata_getmore_cmd.js
SERVER-36944 applyOps does not permit unknown field names when creating a v:1 index
SERVER-36951 applyOps should work with a createIndexes command without a UUID
SERVER-37058 Update with numeric field names inside an array can cause validation to fail
SERVER-37132 Negation of $in with regex can incorrectly plan from the cache, leading to missing query results
Aggregation
SERVER-36993 mongod crash: Invariant failure indexedOr src/mongo/db/query/index_tag.cpp 237
JavaScript
SERVER-37126 Invoke runSafely for all external implscope methods
Storage
SERVER-26854 LockStats for sub-operations should not include time for previous sub ops
SERVER-34713 Progressively declining dropDatabase performance
SERVER-34866 Blacklist/unblacklist tests in secondary_reads_passthrough suite
SERVER-35657 Do not delay journal flushes when operations are waiting for oplog visibility
SERVER-36879 write regression test for stuck cache issue during rollback
SERVER-36961 createIndexes command should check if index already exists with weak lock
SERVER-36969 initial_sync_wt_cache_full.js takes too long to complete on slow hosts
SERVER-37313 FTDC collection blocked during foreground index build on secondary
SERVER-37618 Capture all the logs in lock_stats_suboperation_logs.js
SERVER-37749 replSetResizeOplog command does not validate argument
Operations
SERVER-32064 A logical session id should be included in all command requests from the mongo shell
SERVER-33606 mongo shell startSession() should fail if the server doesn't support logical sessions
SERVER-34864 String-valued fields should not participate in schema change detection in ftdc
Tools
SERVER-30997 mongo cli --password is masked, but not when using mongodb:// connection string
TOOLS-2102 Mongorestore does not check for errors decoding the oplog.bson file
3.6.8 Changelog
Sharding
SERVER-30841 Lower the amount of metadata refresh logging
SERVER-33645 Determine if splitvector.js should be blacklisted from the retryable_writes_jscore_stepdown_suite
SERVER-34204 Tailable cursor fails on getMore against a sharded cluster
SERVER-34913 Blacklist splitvector.js from causally consistent suites
SERVER-35092 ShardServerCatalogCacheLoader should have a timeout waiting for read concern
SERVER-36332 CursorNotFound error in GetMore on a secondary with sessions
SERVER-36741 ChunkManager::getShardIdsForRange invariants when max = MaxKey
SERVER-36777 Excessive logging with sessions in FCV 3.4
SERVER-37050 wait for replication in session_collection_auto_healing
Replication
SERVER-35941 Don't maintain full stable optime candidate list on secondaries in PV0
SERVER-36128 ReplicationCoordinatorImpl::fillIsMasterForReplSet should return isMaster:false while in shutdown
SERVER-36664 Use awaitReplication in read_committed_with_catalog_changes.js instead of getLastError
SERVER-37010 Prevent unexpected elections in initial_sync4.js and initial_sync_rename_collection*.js
Query
SERVER-26387 Replace noPassthrough/indexbg2.js with test that uses failpoints
SERVER-34846 Covered index with collated field returns incorrect result when collation not involved in match or sort
Aggregation
SERVER-35084 change_stream_enforce_max_time_ms_on_mongos.js expects getMore to schedule follow-up getMores
Storage
SERVER-34384 Passthrough test for secondary reads during oplog application
SERVER-37002 dropping a collection with long index names via rename fails under MMAPv1
Operations
SERVER-36479 Log redaction does not show planSummary when slow queries are logged
Build and Packaging
SERVER-36884 Update curator version on stable branches
Internals
SERVER-32920 Avoid overriding read preference for the config server in passthrough tests.
SERVER-34120 scoped connection not being returned to the pool
SERVER-34144 Powercycle output improvements
SERVER-34465 Add a testing parameter to choose a permanent sync source
SERVER-34614 parallelTester should use a different connection for each new test
SERVER-34923 Replace PeriodicRunnerASIO
SERVER-35100 Do not log a Python stack trace when a hook dynamic test fails
SERVER-35123 The periodic_runner_impl starts jobs immediately, unittests should reflect that
SERVER-36001 Add requires_document_locking tag to noPassthrough/indexbg2.js
SERVER-36149 Fix privileges on setFCV virtual namespace
SERVER-36725 periodic_runner_impl_test should manually call tearDown
SERVER-36743 Stop mongod before log ingestion in startup_logging.js
SERVER-36947 Enable test commands for perf micro benchmarks
SERVER-36980 Remove old aggregation fuzzer from evergreen
WT-4218 Change eviction to evict prepared updates.
3.6.7 Changelog
Security
SERVER-33857 Missing log redaction due to confusion with Command::redactForLogging()
SERVER-35032 Non-SSL connections to requireSSL instances get non-informative log message in 3.6.4
Sharding
SERVER-27725 Use batch insert when migrating chunks
SERVER-32056 Increase maxExpireTime in tests to account for rounding
SERVER-33237 Optimize the Range Deleter speed
SERVER-33697 Provide sanity check on number of cached sessions
SERVER-34843 Mongod can return operationTime greater than $clusterTime
SERVER-34897 Introduce parameter to control whether MongoS should automatically retry failed find
commands
SERVER-35377 Operations on new clients get latest in-memory clusterTime as operationTime
SERVER-35658 session migration is too sensitive to replica set primary elections
SERVER-36041 Increase the size of changelog and actionlog
SERVER-36132 Invariant that chunk migration is actually reflected in the metadata after successful commit
SERVER-36232 Refresh after chunk migration commit may not see the committed metadata
SERVER-36248 Do not reject sessions in FCV 3.4
SERVER-36463 Bypass validation of a dummy signatures for isMaster on the unauthenticated connections
Replication
SERVER-28389 Pass CallbackCanceled error down to scatter-gather runner algorithm to process
SERVER-32148 make NamespaceNotFound an acceptable error for emptyCapped and convertToCapped
SERVER-32907 Turn heartbeat log verbosity back down in tests
SERVER-33243 Improve logging when a node changes its sync source
SERVER-34414 Creating a role with buildsIndexes:false node hits an fassert
SERVER-34895 Stable timestamp can be set to timestamp not in oplog
SERVER-34941 Stuck with cache full during recovery oplog application
SERVER-34942 Stuck with cache full during oplog replay in initial sync
SERVER-35058 Don't only rely on heartbeat to signal secondary positions in stepdown command
SERVER-35113 Stable timestamp does not advance if lastApplied does not move forward, but all committed timestamp does, on single node RS
SERVER-35200 Speed up failure detection in the OplogFetcher during steady state replication
SERVER-35239 AwaitData cursor must handle getMore from client with higher lastKnownCommittedOpTime
SERVER-35246 Ignore NamespaceNotFound errors when running collMod during checkReplicaSet in replsettest.js
SERVER-35623 Send a replSetStepUp command to an eligible candidate on stepdown
SERVER-35624 Enable election handoff by default and update affected tests
SERVER-35754 Avoid network errors in stopSet() in catchup_takeover_one_high_priority.js
SERVER-35766 Replication commands sent in candidate's new term can interrupt concurrent vote request
SERVER-35951 Under PV1, ReplicationCoordinatorImpl::processReplSetFreeze for a single node RS should start an election instead of auto-winning.
SERVER-35962 buildindexes_false_with_system_indexes.js restarts nodes and should be tagged [requires_persistence]
SERVER-36083 Add allowMajorityReadConcern:false evergreen variant
SERVER-36225 Do not hold replication mutex when calling getMinValid
SERVER-36234 Fix ./jstests/replsets/initial_sync_drop_collection.js to prevent using stale heartbeat info in the test.
Query
SERVER-33245 mr.cpp can throw in an ON_BLOCK_EXIT handler when there's already an active exception
SERVER-36239 MatchExpression parser query rule
Aggregation
SERVER-35961 Remove uninitialized count variable in MapReduce command
SERVER-35967 $sample with explain(true) hangs
SERVER-36070 Aggregation with $out results in error when Auditing is enabled
JavaScript
SERVER-35986 Stop running eval command in parallel suite on older branches
Operations
SERVER-34160 Mongo client run buffered command when terminated.
SERVER-35180 Safeguard from setting operation session info values while in a direct client
SERVER-35795 3.4 secondaries crashing after some time with 3.6 primary
SERVER-36010 Change log messages for Windows stacktraces to use error() or severe() rather than log()
Tools
TOOLS-2075 mongoreplay always replays to secondary
Internals
SERVER-26150 auth_utils.js authutils.assertAuthenticate should handle hangups better
SERVER-32302 for-each loop over BSONObj is slower than explicit BSONObjIterator in MatchExpressionParser code
SERVER-32371 features2.js should exclude clusterTime metadata
SERVER-32639 Arbiters in standalone replica sets can't sign or validate clusterTime with auth on once FCV checks are removed
SERVER-32792 Blacklist tests that assert on ismaster field of isMaster response in retryable_writes_jscore_stepdown_passthrough
SERVER-33695 Include the loop name in the before and after recovery files in powertest.py
SERVER-33841 Add hooks for the mutational fuzzer
SERVER-34258 Error from mount_drives.sh on Windows
SERVER-34558 Add SSL_version to client metadata logging
SERVER-34793 Add call to BF suggestion server on failed task completion
SERVER-35110 Log locations in set_feature_compatibility_version.js where fatal assertions/other errors are expected
SERVER-35383 Increase electionTimeoutMillis for the ContinuousStepdown hook used in stepdown suites
SERVER-35472 resmoke.py shouldn't fall back to stderr when logkeeper is unavailable
SERVER-35668 Avoid moving concurrency tests to small instances on arm64
SERVER-35724 Remote EC2 hosts which are not accessible via ssh should fail with system error
SERVER-35858 Error in call BF Suggestion service
SERVER-35861 Remove call to dashboard_gen.py in perf.yml
SERVER-35946 Powercycle kill_mongod function should ensure the service is not in a running state
SERVER-35993 read_concern_uninitiated_set restarts nodes so must not allow ephemeral storage
SERVER-36223 Add hook for the fuzzer to not send lsid in the preamble on v3.6
SERVER-36274 Re-enable --ycsb-throughput-analysis in sys-perf
SERVER-36448 Disable election handoff in suites that use the ContinuousStepdown hook
SERVER-36462 Add atlas user to runtime_secret.yml
TOOLS-1991 Build tools with Go 1.10.1
WT-4143 Use WiredTiger.turtle.set if it exists but WiredTiger.turtle does not
3.6.6 Changelog
Security
SERVER-34822 RoleGraph update should ignore index creation on non-role collections
SERVER-35322 external_auth tests should use unique kerberos credentials cache per test
Sharding
SERVER-25746 Store advisoryHostFQDNs data in config.mongos collections
SERVER-33081 Reset KeysCollectionManager
during rollback properly
SERVER-33327 Session::onMigrateCompletedOnPrimary should not update the lastWriteDate field
SERVER-33538 mapReduce "replace" on a sharded output collection can lead to UUIDCatalog inconsistencies
SERVER-33639 Concurrent writes against non-existent database can fail due to distlock acquisition timeout at createDatabase
time
SERVER-34363 addShard shard registry reload can cause mongos to terminate
SERVER-34773 The TransactionReaper
handler classes are not exception-safe
SERVER-34833 Deadlock between the logical sessions' transaction reaper and MMAP V1 durability thread
SERVER-34857 sharding_legacy_api_test
is flaky due to reliance on the system clock
SERVER-35006 Do not reset KeysCollectionManager
SERVER-35345 Test that restarted mongoses are able to connect after FCV update
SERVER-35609 Create initial chunk on primaryShard if only writing one chunk
SERVER-35653 Revert initial chunk creation optimization
SERVER-35745 _getNextSessionMods doesn't include oplogReplay flag to query new oplog created during migration
Replication
SERVER-5461 Add syncSourceHost field to replSetGetStatus output
SERVER-29844 If node has a higher priority than the primary and is the most up to date, schedule the takeover that will execute faster.
SERVER-31995 Logged initial sync statistics may exceed 16mb causing fassert
SERVER-32382 Rollback can time out if oplog entries are large
SERVER-32687 Ignore collection-not-found when fetching missing documents in sync_tail.cpp during initialSync
SERVER-32935 improve exception handling in SyncTail::oplogApplication()
SERVER-33638 CheckReplDBHash should ignore mapreduce incremental collections
SERVER-33812 First initial sync oplog read batch fetched may be empty; do not treat as an error.
SERVER-34102 Under PV1, ReplicationCoordinatorImpl::_handleTimePassing for a single node RS should start an election instead of auto-winning.
SERVER-34110 Ignore NamespaceNotFound errors when refetching documents during rollback
SERVER-34249 Oplog query on uninitiated replica set node can cause seg fault
SERVER-34549 Tests refer to ReplSetTest.kDefaultTimeoutMS, which is undefined
SERVER-34661 Return early when the vote request response has an error
SERVER-34682 Old primary should vote yes and store the last vote after stepdown on learning of a higher term
SERVER-34758 replSetGetStatus can deadlock with initialSyncer
SERVER-34900 initial sync uses different batch limits from steady state replication
SERVER-35087 "./jstests/replsets/read_concern_uninitated_set.js" and test should be disabled in evergreen for storage engines - ephemeralForTest & mmapv1.
SERVER-35124 Stepdown suites with MMAP V1 often fail due to flushing mmaps
taking long time
SERVER-35249 Invariant that we apply to top of oplog on 3.6 replication recovery
SERVER-35256 Do not treat it as an error if the first batch returned by an oplog query comes back empty in master-slave
SERVER-35340 Reduce number of iterations in update_and_bulk_insert.js FSM workload
SERVER-35405 Change default setting for replBatchLimitOperations
Query
SERVER-33959 CursorManager attempts to dispose of aggregation cursors while holding partitioned lock, which leads to deadlock
SERVER-34933 pcre verb support
SERVER-35693 Parsing of $in takes quadratic time due to O(n^2) boost::flat_set constructor
Aggregation
SERVER-34040 Disallow change stream on "internal" databases and system collections
SERVER-35750 [3.6 only] Fix assert in change_stream_collation.js to be assert.soon()
JavaScript
SERVER-34515 Invariant failure _scope->exec( "$arr = [];", "group clean up", false, true, false , 2 * 1000)
Storage
SERVER-31679 Increase in disk i/o for writes to replica set
SERVER-33078 convertToCapped size is not checked for float -> long long overflow
SERVER-34630 Change WiredTiger compatibility version setting in 3.6 release
SERVER-34829 Drop pending reaper must not delete the _dropPendingNamespaces entry until after the drop occurs
SERVER-34863 Disable LSM testing on 3.2, 3.4 and 3.6 branches
SERVER-35859 Disable rocksdb buildvariant
WiredTiger
SERVER-33706 Remove warning message about Windows FS cache configuration
Operations
SERVER-27230 Poor compression of diagnostic data when replica set is unhealthy
SERVER-28830 cursorHandleFromId should verify that its not being called on a closed connection
SERVER-32065 Add support for retryWrites option in mongo shell connection string format
SERVER-33080 blacklist getLog2.js from the parallel suite
SERVER-33546 Add numeric syncing field to replSetGetStatus members array
SERVER-34141 Inconsistent appName in Shard
SERVER-34159 Fix migration_destination_manager logging
SERVER-35444 Heap stacks should not be included in serverStatus with heapprofilingenabled
Build and Packaging
SERVER-32999 Platform Support: remove Debian 7
SERVER-33395 PPC64 little endian altivec optimizations are broken on newer gcc
SERVER-34451 MongoDB installation on Windows error: setup wizard ended prematurely
SERVER-35210 curator release versions should be populated from the project expansions
Tools
TOOLS-2058 mongoreplay does not show OP_MSG commands
TOOLS-2062 Support zlib compression in mongoreplay
3.6.4 Changelog
Sharding
SERVER-16802 Order of balancer chunk moves depends on order of config.collections
SERVER-28670 Add sharding metadata refresh metrics section to serverStatus
SERVER-28981 Sharding balancer prefers shards in a specific order when moving chunks
SERVER-29807 RangeDeleter should log when its about to wait for majority replication
SERVER-32210 Stepping down recipient shard's primary while migrating session information can fassert
SERVER-32604 prevent adding a binary last-stable shard if the cluster is upgrading or downgrading
SERVER-32885 Overlap chunk clone application on the donor with fetching documents from the recipient
SERVER-32886 Unnecessary sleeps during chunk migration
SERVER-33189 Unblacklist sharding tests marked as requiring already released last-stable versions
SERVER-33763 3.6 drivers fail to communicate with 3.6 sharded clusters running at FCV 3.4
SERVER-33869 make $changeStream on shards check shardVersion
SERVER-33971 Nodes in MongoDB sharded cluster crashes with Invariant failure oplogEntry.getWallClockTime()
Replication
SERVER-29946 Increase heartbeat rate when a secondary has no sync source
SERVER-30283 PingStats::hit() should not set _numFailuresSinceLastStart to integer max
SERVER-31399 repl.apply.batches.totalMillis does not record the time spent applying batches
SERVER-31666 catchup_takeover_one_high_priority should use initiateWithAnyNodeAsPrimary
SERVER-31669 Increase the election timeout in case 3 of catchup.js
SERVER-32776 Refresh rollback id cache on increment
SERVER-33448 Relax time diff requirements in apply_batches_totalMillis.js
SERVER-33618 Initial sync should consider applyOps a CrudOpType
Query
SERVER-31293 Don't consider readPreference "primary" as equivalent to 'slaveOk' in OP_QUERY find path
SERVER-33302 Missing log redaction for a few failure paths
SERVER-33542 Using maxTime() on MongoDB 3.4 and 3.6 does not yield the same error code
Storage
SERVER-32058 Abort of catalog meta-data updates may lead to cache inconsistency
SERVER-32453 WTKVEngine::getAllIdents mishandles cursor->next return code.
SERVER-32574 Repairing the local database can cause the WT oplog manager thread to permanently exit.
SERVER-32641 Some artificial find may crash debug builds of the server
SERVER-32831 Blacklist change_stream_chunk_migration.js and close_cursor_on_chunk_migration_to_new_shards.js for LSM buildvariant
SERVER-33086 renameCollection target should never have identical UUID with a different database
SERVER-33087 Fix the use of dropTarget in renameCollection
SERVER-33122 add option to disable cursor caching to speed up dropDatabase and collection drop
SERVER-33233 Don't stall ftdc due to running out of tickets
SERVER-33854 Fix applyOps field handling
SERVER-34024 Disable WiredTiger cursor cache by default.
Operations
SERVER-12644 Move note about noprealloc hurting performance to startup warnings
SERVER-30114 Monitor cumulative time spent in tcmalloc spin lock
SERVER-30567 Break out serviceExecutorTaskStats by task type
SERVER-32498 "desc" field in currentOp output no longer contains the thread name used in log messages
SERVER-33227 Using the method connect
in a script will as a side effect update global db
.
Build and Packaging
SERVER-31535 Platform Support: remove Ubuntu 12.04 builds
SERVER-32923 Platform Support: remove SLES11 builds
SERVER-33406 Reduce concurrency for s390x compile and compile_all builds to avoid OOM failures
SERVER-33779 Remove tvOS and iOS variants from the v3.6 branch
SERVER-33936 3.6 nightly builds not available for download
3.6.3 Changelog
Security
SERVER-31893 Explicitly define timeout for synchronous LDAP calls
SERVER-32086 Suppress LDAP user cache invalidation log message by default
SERVER-32779 Upgrade third_party tomcrypt to 1.18.1 final
SERVER-32933 Allow mongod to start when unable to reach LDAP server
Sharding
SERVER-27724 Explore whether we can further minimize chunk metadata reloads on shards
SERVER-28923 Add diagnosability and supportability features for retryable writes
SERVER-29423 Sharding balancer may schedule multiple migrations with the same source or destination
SERVER-30152 add safe secondary reads targeted tests for mapReduce
SERVER-30671 Don't expect operationTime to not change in causal_consistency_shell_support.js
SERVER-31860 setFCV on a cluster can fail to call setFCV on shards if the config server primary's ShardRegistry is empty
SERVER-31979 Chunk migration statistics are not recorded in the moveChunk.commit
changelog entries
SERVER-32235 Blacklist core/drop3.js test from causally consistent workloadss
SERVER-32368 do not perform UUID check against a shard's config cache in the sharding_csrs_continuous_config_stepdown_WT suite
SERVER-32554 Source shard stepdown while entering critical section can trigger cloner invariant
SERVER-32568 The migration_sets_fromMigrate_flag.js
test is not compatible with sharding continuous stepdown suite
SERVER-32569 Introduce uniform way to allow config servers and shard replica sets to start in non-cluster mode
SERVER-32592 Stepdown during migration cleanup can crash the source shard primary
SERVER-32593 CSRS stepdown during migration commit can trigger fassert on source shard primary
SERVER-32886 Unnecessary sleeps during chunk migration
SERVER-32901 Pull the CollectionShardingState map out of ShardingState
SERVER-32924 tag skip_sharding_configuration_checks test with requires_persistence tag
SERVER-32970 Put back random chunk size initialization in mongos auto split tracking
SERVER-33234 dropIndexes on mongos should ignore IndexNotFound from individual shards if some shard returned success
Replication
SERVER-21456 Improve closing connection behavior when stepping down from primary
SERVER-28290 stepping down due to a higher term seen in a heartbeat should not discard term after stepdown
SERVER-28895 Remove old form of replSetUpdatePosition command
SERVER-31707 Test changeStreams on a sharded collection where the shard doesn't know the collection is sharded
SERVER-32028 Make reconfig() in rslib.js resilient to NodeNotFound error
SERVER-32209 Reset the in-memory optimes on PV downgrade and upgrade
SERVER-32361 Rollback tests that expect a fatal assertion after node restart should not wait for connection
SERVER-32402 dropDatabase after step down can cause fassert
SERVER-32432 Race condition causes seg fault in ReplicationCoordinatorExternalStateImpl shutdown
SERVER-32532 Two-phase dropDatabase may not replicate all collection drops before the database drop.
SERVER-32556 Retryable write on local db hits an invariant
SERVER-32564 Increase assert.soon timeout when waiting for election in rollback_crud_op_sequences.js
SERVER-32624 dropDatabase() should wait for collection drops using ReplicationCoordinator::awaitReplication() instead of awaitReplicationOfLastOpForClient()
SERVER-32783 CollectionCloner::shutdown() should not block on resetting _verifyCollectionDroppedScheduler
SERVER-32794 Make timeouts unrelated to elections not depend on election timeout
SERVER-32803 stepup.js should retry replSetStepUp command when it is overtaking another primary
SERVER-32840 Remove pv0 jepsen tests
SERVER-32919 initial_sync_many_dbs.js should use less data
Query
SERVER-28260 Create a killAnyCursor privilege
SERVER-31484 Operation deadline and awaitData timeout should be separate
SERVER-31854 After the first drop, assertSchemaMatch() should assert that subsequent drops succeed
SERVER-32441 3.6 mongod crash on find with index and nested $and/$or
SERVER-32492 idhack_sharded.js should use _waitForDelete:true in moveChunk
SERVER-32606 Tailing oplog on secondary fails with CappedPositionLost
SERVER-33005 Contained $or access planning is incorrect for $elemMatch object, results in invariant failure
SERVER-33089 Unable to start queryable mongod because it failed to regenerate index for admin.system.users
SERVER-33092 elemMatchProjection.js incorrectly assumes that shell generates monotonically increasing _id values
SERVER-33333 Prevent failed cross user getMores from having side effects
Aggregation
SERVER-31760 Lookup sub-pipeline is not using index for equality match
SERVER-32349 Resuming a sharded change stream when there are multiple changes with the same timestamp may be impossible
SERVER-32690 Aggregation can trip invariant related to renamed fields optimization
Storage
SERVER-32259 Improve error handling for fetchTypeAndSourceURI()
SERVER-32274 Do not timestamp applyOps writes on standalones
SERVER-32533 In oplog truncate with WT, don't use a start key
SERVER-32573 Skip wt_delayed_secondary_read_concern_majority.js when running with WiredTiger's LSM tree
SERVER-32637 Ensure that upgrading to 3.6 when on pv0 doesn't break if you don't explicitly turn off readConcernMajority
SERVER-32851 setFeatureCompatibilityVersion can race with createCollection such that FCV 3.6 is set and some collections do not have UUIDs
Operations
SERVER-32072 DBRef with NumberInt ID changing to float in the shell
SERVER-32473 Error loading history file on first shell usage
SERVER-33140 mongodb+srv URI support broken on shell v3.6.2 for Windows
Build and Packaging
SERVER-32516 Fails to compile with Boost 1.66
SERVER-32580 Microbenchmarks: update the enterprise branch for mongo v3.6
SERVER-32649 got "used vector type where scalar is required" when using GCC 7
SERVER-32932 When testing SLES 12 packages make sure required repos exist
SERVER-33181 Upgrade ASIO to latest
3.6.2 Changelog
Security
SERVER-31625 The contents of {USER} needs to be escaped when querying for the groups using LDAP server
Sharding
SERVER-28992 Cleanup mongos write commands execution
SERVER-31982 Shard does not call config commit chunk migration command with majority writeConcern nor checks for writeConcern errors.
SERVER-32202 Do not clear the cached sharding filtering information on replication state changes
SERVER-32255 UUIDs may be absent from shard secondary local collections
SERVER-32480 Remove CatalogCache retrieval methods, which take StringData
SERVER-32529 Requiring replSet for shards breaks Queryable Backup
Replication
SERVER-30626 Remove TopologyCoordinator interface
SERVER-31267 CollectionCloner fails if collection is dropped between getMore calls
SERVER-31684 QueryPlanKilled (operation exceeded time limit) in $changeStream with updateLookup
SERVER-31749 Clarify the reason temporary unique collection names are made
SERVER-32098 Disallow operations on drop-pending collections through applyOps
SERVER-32136 initial_sync_drop_collection.js should wait for system to stablize after restarting node
SERVER-32224 Disable chaining in initial_sync_drop_collection.js
Aggregation
SERVER-32282 Aggregation text search returns text score even if it wasn't requested when targeting multiple shards in a sharded cluster
SERVER-32430 DocumentSourceSort sorts array documents incorrectly if there is a non-simple collation
Operations
SERVER-32396 mongo shell failed to connect with 3.6 connection string SRV
Build and Packaging
SERVER-31875 Fix long link times on OS X by passing -no_deduplicate to the linker
SERVER-32415 MongoDB msi installer for Compass contains a typo
Internals
SERVER-30538 check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook
SERVER-31972 Reduce the number of iterations for the toggle_feature_compatibility.js workload
SERVER-31997 Add additional unittesting for CompatibleFirst policy
SERVER-32091 Powercycle - remove mongod.lock file for MMAPV1 test
SERVER-32145 Avoid dropping lock before cleaning up DocumentSourceCursor's PlanExecutor
SERVER-32246 PID file permission on v3.6 make it not not monitorable using pid file
SERVER-32497 implicitly_retry_on_database_drop_pending.js calls tojson() inside of a loop
SERVER-32500 Disable the sharding Evergreen task on the Enterprise OS X 10.10 MMAPv1 builder
3.6.1 Changelog
Sharding
SERVER-29397 Invariant failure on config server when inserting tag into config.tags
SERVER-30226 Force the recipient shard to refresh its metadata after migration commit
SERVER-30768 Primary queries using maxTimeMS cause temporary shard write unavailability if ExceededTimeLimit
SERVER-31056 Remove all usages of the default constructor of ScopedCollectionMetadata outside of MetadataManager
SERVER-31627 ShardingTest.checkUUIDsConsistentAcrossCluster can fail to see collection in config.cache.collections
SERVER-31865 setFCV on config server should only generate UUIDs for non-dropped sharded collections
SERVER-31984 A migration will simply report "Data transfer error" when we have rich error details on the destination shard that are logged but not returned to the user
SERVER-32043 Disallow users from creating new indexes in config.transactions
SERVER-32055 Improve multi thread performance for retryable writes
SERVER-32123 Enable sign range optimization for clusterTime
SERVER-32149 ShardingCatalogManager::getDatabasesForShard should check if query was successful
SERVER-32372 Mongos crashes on bulk inserts which size are slightly bigger than maxBsonObjectSize
SERVER-32385 "CommandNotFound: no such command" in mongodb logs on 3.6
Replication
SERVER-30457 Cancel catchup takeover if primary caught up according to heartbeats
SERVER-31990 Rollback can abort on long collection names.
SERVER-32085 $changeStream reports incorrect documentKey for unsharded collections that become sharded
SERVER-32114 Delete unused rollback code
SERVER-32131 ChangeStreams lookup_post_image.js test makes assumptions that don't hold up in secondary read passthrough
SERVER-32159 fix typo in sync_tail.cpp fillWriterVectorsAndLastestSessionRecords()
SERVER-32167 do a second majority write on oldPrimary before committed read in read_committed_after_rollback.js
SERVER-32178 Do not use IDL on oldest oplog entry
Query
SERVER-31978 Add an invariant that DocumentSourceCloseCursor does not execute on a mongod for a sharded $changeStream
SERVER-32046 Arrays of certain NumberDecimals can trigger an invariant failure
SERVER-32109 $rename does not update value if existing "to" field has the same numeric value but different type.
SERVER-32173 Add deprecation warning to "snapshot" option on queries
Write Operations
SERVER-8538 Deprecate $atomic/isolated update option
SERVER-32048 Updates using a numeric path component may cause index entries not to be created
Aggregation
SERVER-31731 Test that mongos accepts a --timeZoneInfo parameter, and can correctly execute expressions using time zones
SERVER-31885 changeStream cursor is not returned on a mongos when the database does not exist.
Storage
SERVER-31304 remove SnapshotName class
SERVER-31906 Test that applyOps can clone admin.system.version preserving its UUID
SERVER-31952 return error if collMod provides a UUID that does not match the UUID of the collection specified
SERVER-32022 allow enableMajorityReadConcern=false to work
SERVER-32118 applyOps view creation should not assign UUID
SERVER-32226 oldest_timestamp should track the last applied time, during initial sync
Operations
SERVER-29453 Disallow removing the featureCompatibilityVersion document
Build and Packaging
SERVER-32211 install_compass experience on OSX needs improvement
SERVER-32286 Remove Type=forking from Debian SystemD service file
Tools
TOOLS-1895 qa-dump-restore-archiving oplog_rollover_test.js
Internals
SERVER-30770 system_perf.yml: Use new DSI interface and cleanup
SERVER-31194 Add a version of retryable_writes_jscore_passthrough.yml with stepdowns
SERVER-31225 The mongod process forks before listening for connections
SERVER-31660 Bring BSONObj parsers back for IDL generated commands
SERVER-31791 UUIDs should be added to local collections for replica sets only on clean startup
SERVER-31808 HostAndPort for replSetInitiate() no longer finds hostname for localhost
SERVER-31845 WT performance regression with write retryability enabled
SERVER-31864 applyOps command with UUID containing op must require granular privileges
SERVER-32053 explain3.js should assert that its writes succeed
SERVER-32073 Improve signal given by list_local_sessions.js
SERVER-32087 Run test stage of sys-perf and mongo-perf failures should lead to red evergreen boxes
SERVER-32105 Require shard servers and config servers to be started with --replSet or 'replSetName'
SERVER-32106 Migration of txn oplog entries can trigger fassert in secondary replication
SERVER-32164 Shell SRV implementation does not allow authSource
from TXT records to be used
SERVER-32238 Revert erroneous high error codes
TOOLS-1688 Evergreen tests broken in master
TOOLS-1827 Implement Initial DNS Seedlist discovery spec
TOOLS-1861 build.sh script doesn't abort on error
TOOLS-1878 qa-tests-unstable force_table_scan.js
TOOLS-1880 qa-tests-unstable no_primary_error_code.js
TOOLS-1881 qa-tests-unstable no_sharded_secondary_reads.js
WT-3079 Make sure eviction visits all trees
WT-3776 Cursor remove operation unpins page too early
WT-3786 Transactions with timestamps should read their writes