Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25511

MongoDB replication should query the oplog in a separate thread

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.10
    • Fix Version/s: HOTFIX_9.10
    • Component/s: Replication

      Description

      Blocking the processTimer method of the computation may lead to unneeded rebalance on the Kafka side. Moreover, by blocking the method, we are also not able to askCheckPoint regularly and thus increases the RPO to unmanaged values.

      In order to avoid that, the tailable cursor on the oplog.rs collection must be run in a separate thread. The processTimer will then continuously taking the found oplogs and send them to the stream.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: