mongoDB-Cannot change the size of a document in a capped collection:

  简单记录一下:

  造成该问题的原因是集合被设置成了 固定集合 。固定集合的数据不能被修改。只能查找-删除-再插入

原文地址:https://www.cnblogs.com/ttjsndx/p/9741067.html