weixin_39625563
2020-12-08 19:10 阅读 0

Implementing oplog functionality

MongoDb when set up as a replica set mantains a collection in the local database called oplog.rs where it records a log of all changes that take place (insertions, updates, deletions, etc). Among other things the oplog is used in the implementation of change streams. This issue is to intersect the insertions, updates and deletions and create the corresponding entrances in the oplog.

See this for an overview of the structure of the oplog documents.

该提问来源于开源项目:bwaldvogel/mongo-java-server

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39625563 weixin_39625563 2020-12-08 19:10

    This pull request #131 implements the insertion.

    点赞 评论 复制链接分享
  • weixin_39774556 weixin_39774556 2020-12-08 19:10

    I’ve added some support for updates and deletes in the oplog: https://github.com/bwaldvogel/mongo-java-server/commit/e686643a8f39f4ca0eb4fb0aaa17dce90f3504a8.

    I’ve also just released version 1.28.0

    点赞 评论 复制链接分享
  • weixin_39774556 weixin_39774556 2020-12-08 19:10

    What is missing for this issue?

    点赞 评论 复制链接分享
  • weixin_39625563 weixin_39625563 2020-12-08 19:10

    I think we can close it.

    点赞 评论 复制链接分享

相关推荐