On this page本页内容
MongoDB 5.3 release candidates are not yet available. MongoDB 5.3的候选版本尚未发布。This version of the manual is for an upcoming release and is currently a work in progress.此版本的手册即将发布,目前正在进行中。
This page is a work in progress and will be updated with changes introduced in 5.3 that can affect compatibility with older versions of MongoDB.此页面正在进行中,将使用5.3中引入的更改进行更新,这些更改可能会影响与旧版本MongoDB的兼容性。
If there are secondary indexes on time series collections and you need to downgrade the Feature Compatibility Version (FCV), you must first drop any secondary indexes that are incompatible with the downgraded FCV. 如果时间序列集合上存在二级索引,并且需要降级功能兼容版本(FCV),则必须首先删除与降级FCV不兼容的任何二级索引。See Secondary Indexes.请参阅二级索引。
2dsphere
文档索引键To prevent out of memory errors, 为了防止内存不足错误,indexMaxNumGeneratedKeysPerDocument
limits the maximum number of 2dsphere index keys generated for a single document.indexMaxNumGeneratedKeysPerDocument
限制了为单个文档生成的2dsphere
索引键的最大数量。
See 请参阅indexMaxNumGeneratedKeysPerDocument
.indexMaxNumGeneratedKeysPerDocument
。
Starting in MongoDB 5.3, SCRAM-SHA-1 cannot be used for intra-cluster authentication. 从MongoDB 5.3开始,SCRAM-SHA-1不能用于集群内身份验证。Only SCRAM-SHA-256 is supported.仅支持SCRAM-SHA-256。
In previous MongoDB versions, SCRAM-SHA-1 and SCRAM-SHA-256 can both be used for intra-cluster authentication, even if SCRAM is not explicitly enabled.在以前的MongoDB版本中,SCRAM-SHA-1和SCRAM-SHA-256都可以用于集群内身份验证,即使没有明确启用SCRAM。
db.stat()
设置Starting in MongoDB 5.3.0, 5.2.1, and 5.0.6, the 从MongoDB 5.3.0、5.2.1和5.0.6开始,如果freeStorage参数设置为1,dbStats
command and the db.stats()
method only report free space assigned to collections if the freeStorage parameter is set to 1.dbStats
命令和db.stats()
方法仅报告分配给集合的可用空间。