Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Load dump only works on primary #197

Open
@MarinPostma

Description

@MarinPostma

There is a bug that causes a sqlite dump to only be loadable from the primary.

The way loading dump works is by creating statements and not performing any analysis on them (so that full sqlite is supported). The statements are then batched and executed. In the case of a cluster, what happens is that the replica proxies all the statements to the primary, and the primary, unknowing that the statements come from a dump, will try to analyze them again, and fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions