Skip to content

What to do when ctx.ErrC channel provides an error? #13

@maustin75

Description

@maustin75

This is more of a question and not an issue:

I'm trying to figure out what we should do when we get an error. I don't want to skip oplog messages.

Some initial ideas:

  1. We keep going thinking that gtm will handle and we won't skip oplog records
  2. Stop (ctx.Stop() ) and restart with gtm.Start using the offset we have been saving when we get a success handling of ctx.OpC

Your thoughts would be appreciated. Basically, to ensure handling of all oplog messages, how would we deal with ctx.ErrC events?

Thanks,
Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions