Skip to content

Cache populate and the source connection lock (#116 follow-up) #216

Closed

Description

@jrosskopf

Cache populate scripts never take the source connection's serialize-access lock (SQLite connections default on),
while uncached reads and writes do. Check whether a populate concurrent with a write can still wedge a SQLite
attachment (#116) and take the lock for populates if so.

Found while working on #211 (Claude Code plugin); not fixed there.

Activity

  1. jrosskopf commented on Nov 21, 2026

    @jrosskopf
    ContributorAuthor

    Fixed and merged in #230 (real-binary integration tests under test/integration/).

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