createIdIndex() 错误码可能的原因解决方法-247$id 索引已经存在--291存在一个相同定义的索引删除定义冲突的索引 构建 $id 索引时指定排序缓存大小: > db.foo.bar.createIdIndex( { SortBufferSize: 128 } )