Previously, the litestream_seq could increment on a PASSIVE checkpoint even if the WAL existed and did not need to be created. This caused a loop where the increment would trigger replication. This PR fixes this by only executing the increment if the WAL is below a size threshold.
Previously, the
litestream_seq
could increment on aPASSIVE
checkpoint even if the WAL existed and did not need to be created. This caused a loop where the increment would trigger replication. This PR fixes this by only executing the increment if the WAL is below a size threshold.Fixes #422