mongodb - code : 16105错误

 倩女墨镜aaaaa_259 发布于 2022-10-26 18:47

2.4.8单节点,哪位大牛遇到过此类问题?
各位,有谁遇到过此类问题?

Error in opening file
QueryFailure flag was assertion src/mongo/db/database.cpp:300 (response was { "$err" : "assertion src/mongo/db/database.cpp:300" }).
Type: MongoDB.Driver.MongoQueryException
Stack:    在 MongoDB.Driver.Internal.MongoReplyMessage`1.ReadFrom(BsonBuffer buffer, IBsonSerializationOptions serializationOptions)
   在 MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializationOptions serializationOptions)
   在 MongoDB.Driver.MongoCursorEnumerator`1.GetReply(MongoConnection connection, MongoRequestMessage message)
   在 MongoDB.Driver.MongoCursorEnumerator`1.GetFirst()
   在 MongoDB.Driver.MongoCursorEnumerator`1.MoveNext()
   在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.Refresh()
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.get_Exists()
   在 MongoDB.Driver.GridFS.MongoGridFSStream..ctor(MongoGridFSFileInfo fileInfo, FileMode mode, FileAccess access)
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.OpenRead()
   在 MangoUI.MGridSys.SaveFile(String db, String ns, String filename, String pathOnLocalDisk)
   在 MangoUI.ComGridFS.kOpen_Click(Object sender, EventArgs e)
=======================
QueryFailure flag was expected to be write locked for EmrFiles (response was { "$err" : "expected to be write locked for EmrFiles", "code" : 16105 }).
Type: MongoDB.Driver.MongoQueryException

如何解决?

1 个回答
  • 尝试将你的mongodb升级到新的版本,或许能解决问题。
    这个上面有人回答过
    http://stackoverflow.com/ques...

    2022-11-12 01:40 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有