Skip to content

Timeout while migrating on Clickhouse #1044

Description

@txomon

We have been hitting in production goose suddenly dropping the connection after 5 minutes.

The error is as follows:

goose run: ERROR <migration_file>: failed to run SQL migration: failed to execute SQL query "[query]": query processing: failed to read packet from [clickhouse_ip] (conn_id=1): read: read tcp [local_ip]->[clickhouse_ip]: i/o timeout

Is there any way to make migrations be able to run way longer? We have migrations that may take tens of minutes

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions