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

  简单记录一下:

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

posted @ 2018-10-03 22:16  有营养的yyl  阅读(1463)  评论(0编辑  收藏  举报