Skip to content

Make replicator more resilient to database shutdown #8

Description

@SteveIves

Currently, if the database becomes inaccessible subsequent to the initial successful connection, replicator will log failures to complete operations, but unless the "stop on error" option is being used, will continue to process. This can results in changes not being applied to the database.

We should modify replicator such that if this type of database error is encountered, it attempts to close any open cursors, disconnects from the database, and then attempts to re-connect. This process should occur periodically for some period of time, perhaps waiting up to 24 hours before finally giving up and stopping.

This change would allow the replicator to be resilient to the database being taken off-line for management purposes, without losing any changes that occurred while the database was off-line.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions