MongoDB 4.0.21-rc0 is released

MongoDB 4.0.21-rc0 is out and is ready for testing. This is a release candidate containing only fixes since 4.0.20. The next stable release 4.0.21 will be a recommended upgrade for all 4.0 users.


Fixed in this release:

  • SERVER-26726 Check number of arguments for createIndex() and throw error if more than two arguments
  • SERVER-40317 $facet execution has no limit on how much memory it can consume
  • SERVER-43233 Add ability to request only specific attribute(s) for the LDAP groups
  • SERVER-45803 mongodecrypt needs a ServiceContext
  • SERVER-45938 Allow matching O/OU/DC in client x509 cert if clusterMode:keyFile
  • SERVER-49990 Alias setSlaveOk() and getSlaveOk() shell helpers
  • SERVER-50291 Add query knob to enumerate $or children in a different order
  • SERVER-50463 Make PooledLDAPConnection::refresh take self-ownership
  • SERVER-50915 [v4.0] fsyncLock must not take a stable checkpoint when majority read concern is off
  • SERVER-51120 Find queries with MERGE_SORT incorrectly sort the results when the collation is specified

4.0 Release Notes | All Issues | Downloads



As always, please let us know of any issues.



– The MongoDB Team