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

Tags: libsql/sqld

Tags

v0.21.9

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump sqld to v0.21.9 (#753)

v0.21.8

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump sqld to v0.21.8 (#749)

v0.21.7

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump sqld to v0.21.7 (#735)

v0.21.6

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump sqld to v0.21.6 (#728)

v0.21.5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bottomless: checkpoint before initializing bottomless (#726)

* bottomless: checkpoint before initializing bottomless

Due to a bug in wallog recovery, we need to checkpoint
the database *strictly before* we initialize bottomless.
A proper fix should be to use our virtual WAL methods
for checkpointing, but there's an initialization cycle
and resolving it will be a larger patch - a connection
with WAL methods wants us to already have the replication
logger created, and replication logger wants to perform
a checkpoint on creation.
As a mid-term solution, we just perform the forbidden
regular checkpoint before bottomless is ever launched.
Combined with the fact that bottomless treats existing
databases as the source of truth, it just creates
a new backup generation and continues working properly.

The following scenario was buggy before:
 1. We leave the db in the state where some WAL frames
   still exist in data-wal file
 2. We restart sqld
 3. bottomless is initialized, it reuses the existing db
    and WAL frames and uploads them to S3, to avoid
    creating a potentially costly snapshot
 4. ReplicationLogger::new() incorrectly calls
    sqlite3_wal_checkpoint which swipes data from under
    bottomless.
 5. Bottomless thinks it hasn't checkpointed and continues
    to write WAL frames. As a result, it writes garbage
    to S3, because the db was checkpointed outside
    of bottomless control

* fmt fix

v0.21.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #720 from penberg/bump

bump sqld to v0.21.4

v0.21.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump sqld to v0.21.3 (#710)

v0.21.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
auth dump route (#707)

v0.21.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add correct function name in catch_panic macro (#703)

v0.21.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix dump bug (#700)

* fix quote col name in dump

* add regression test