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
Description
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.