Skip to content

[Resharding] Retry COPY on transient errors #897

@levkk

Description

@levkk

Description

Retry parallel table copy if an error that's easily recoverable happens:

  • can't connect to server (temporarily down, network issue, etc.)
  • copy interrupted due to network error (server restarted mid copy); this is safe because copies are transactional.

The latter needs to handle two situations:

  1. Destination shard is down: just retry
  2. Origin is down: need to re-start the transaction and re-create the temporary replication slot

Metadata

Metadata

Assignees

No one assigned

    Labels

    bleeding edgeExciting new frontier stuff.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions