search

Home  >  Q&A  >  body text

mongodb - mogodb master slave模式,slave中能不能开启oplog

使用master slave架构,想通过slave中的oplog再将数据同步给其他下游,但是slave中好像是没有oplog,不知道是就是没有,还是有什么参数来指定

迷茫迷茫2793 days ago551

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-02 09:20:02

    master/slave has been deprecated for a long time, please use replica set instead. After enabling oplog, oplos.rs will appear in the local library, which is the oplog.

    reply
    0
  • Cancelreply