Skip to content

Incorrect error handling of mysqldump RDS #62

@michalbiarda

Description

@michalbiarda

When an error occurs while running mysqldump RDS export (e.g. connection lost), the script doesn't exit. Instead, it keeps working, which results in empty / partial dumps being sent to S3.

It would be the best to try to repeat mysqldump (we're dumping table by table now), maybe with some timeout, to not repeat infinitely.

If that's not possible, let's at least break the execution and throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions