Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTEGRATION [PR#594 > development/8.1] ft: ZENKO-1175 tailable cursor to consume mongo oplog #600

Merged
merged 3 commits into from
Nov 8, 2018

Commits on Nov 8, 2018

  1. ft: ZENKO-1175 tailable cursor to consume mongo oplog

    Use a tailable custor to keep ordering guarantees for the records we
    read. This also means we have to read from the beginning when we
    reconnect (at startup), and start processing when we encountered the
    unique ID previously stored in zookeeper.
    
    Also removed dispatcher mode with MongoLogReader (was only used for
    the short-lived Federation deployment of Zenko).
    jonathan-gramain committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    8ac3cf5 View commit details
    Browse the repository at this point in the history
  2. bf: ZENKO-1175 fix when no saved ID exists

    In case where there is no saved ID yet (initial deployment), do
    process the very first entry in the log instead of skipping it. In
    practice it should not have an impact because the very first entry in
    the log is normally not due to be processed for CRR, but it ensures
    correctness.
    jonathan-gramain committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    d620fef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f54136 View commit details
    Browse the repository at this point in the history