2.6 Changelog

2.6.12 Changelog

Security

SERVER-19284 Should not be able to create role with same name as builtin role

Sharding

  • SERVER-17886 dbKillCursors op asserts on mongos when at log level 3
  • SERVER-19266 An error document is returned with result set
  • SERVER-20191 multi-updates/remove can make successive queries skip shard version checking
  • SERVER-20839 trace_missing_docs_test.js compares Timestamp instances using < operator in mongo shell

Query

  • SERVER-2454 Queries that are killed during a yield should return error to user instead of partial result set
  • SERVER-16042 Optimise $all/$and to select smallest subset as initial index bounds
  • SERVER-19725 NULL pointer crash in QueryPlanner::plan with $near operator
  • SERVER-20083 Add log statement at default log level for when an index filter is set or cleared successfully
  • SERVER-20829 RUNNER_DEAD on document delete during update by _id or find by _id
  • SERVER-21227 MultiPlanStage::invalidate() should not flag and drop invalidated WorkingSetMembers
  • SERVER-21602 Reduce execution time of cursor_timeout.js
  • SERVER-22195 queryoptimizer3.js failing on 2.6
  • SERVER-22535 Some index operations (drop index, abort index build, update TTL config) on collection during active migration can cause migration to skip documents

Write Operations

SERVER-21647 $rename changes field ordering

Storage

SERVER-21543 Lengthen delay before deleting old journal files

MMAP

  • SERVER-22261 MMAPv1 LSNFile may be updated ahead of what is synced to data files

Operations

SERVER-13985 printShardingStatus uses group/JS

Build and Packaging

  • SERVER-18432 alert when passing unused variables to scons
  • SERVER-18793 Enterprise RPM build issues
  • SERVER-19509 The nproc ulimits are different across packages
  • SERVER-20583 migrate all windows-64 vs2010 builders in evergreen to use new version of the distribution
  • SERVER-20830 set push and docs_tickets tasks as not available for patch testing
  • SERVER-21864 streamline artifact signing procedure to support coherent release process

Internals

2.6.11 – Changes

Querying

  • SERVER-19553 mongod shouldn’t use sayPiggyBack to send killCursor messages
  • SERVER-18620 Reduce frequency of “staticYield can't unlock” log message
  • SERVER-18461 Range predicates comparing against a BinData value should be covered, but are not in 2.6
  • SERVER-17815 Plan ranking tie breaker is computed incorrectly
  • SERVER-16265 Add query details to getmore entry in profiler and db.currentOp()
  • SERVER-15217 v2.6 query plan ranking test “NonCoveredIxisectFetchesLess” relies on order of deleted record list
  • SERVER-14070 Compound index not providing sort if equality predicate given on sort field

Replication

Sharding

  • SERVER-19464 $sort stage in aggregation doesn’t call scoped connections done ()
  • SERVER-18955 mongos doesn’t set batch size (and keeps the old one, 0) on getMore if performed on first _cursor->more()

Indexing

  • SERVER-19559 Document growth of “key too large” document makes it disappear from the index
  • SERVER-16348 Assertion failure n >= 0 && n < static_cast<int>(_files.size()) src/mongo/db/storage/extent_manager.cpp 109
  • SERVER-13875 ensureIndex() of 2dsphere index breaks after upgrading to 2.6 (with the new createIndex command)

Networking

SERVER-19389 Remove wire level endianness check

Build and Testing

2.6.10 – Changes

Security

Querying

  • SERVER-18364 Ensure non-negation predicates get chosen over negation predicates for multikey index bounds construction
  • SERVER-17815 Plan ranking tie breaker is computed incorrectly
  • SERVER-16256 $all clause with elemMatch uses wider bounds than needed

Replication

  • SERVER-18211 MongoDB fails to correctly roll back collection creation
  • SERVER-17771 Reconfiguring a replica set to remove a node causes a segmentation fault on 2.6.8
  • SERVER-13542 Expose electionId on primary in isMaster

Sharding

Storage

  • SERVER-18211 MongoDB fails to correctly roll back collection creation
  • SERVER-17653 ERROR: socket XXX is higher than 1023; not supported on 2.6.*

Indexing

SERVER-17018 Assertion failure false src/mongo/db/structure/btree/key.cpp Line 433 on remove operation

Write Ops

Networking

  • SERVER-18096 Shard primary incorrectly reuses closed sockets after relinquish and re-election
  • SERVER-17591 Add SSL flag to select supported protocols

Build and Packaging

  • SERVER-18344 logs should be sent to updated logkeeper server
  • SERVER-18082 Change smoke.py buildlogger command line options to environment variables
  • SERVER-18312 Upgrade PCRE to latest
  • SERVER-17780 Init script sets process ulimit to different value compared to documentation
  • SERVER-16563 Debian repo component mismatch - mongodb/10gen

Shell

SERVER-17951 db.currentOp() fails with read preference set

Testing

  • SERVER-18262 setup_multiversion_mongodb should retry links download on timeouts
  • SERVER-18229 smoke.py with PyMongo 3.0.1 fails to run certain tests
  • SERVER-18073 Fix smoke.py to work with PyMongo 3.0

2.6.9 – Changes

Security

SERVER-16073 Cre