-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: sqlite-based transcript store (#3402)
Change swing-store's `streamStore` implementation from a collection of flat files to a SQLite-backed database. Hopefully a workaround for #3405. * feat: sqlite3 stream works in 1 case (WIP) * feat: SQL based streamStore passes 1 complete test (cont.) * feat: SQL bases streamStore: factor implementation out of tests * feat: let caller override ambient sqlite3 * chore: harden() sqlStreamStore - refactor: hoist concise methods * chore: integrate sqlStringStore into lmdbSwingStore * feat: sqlStreamStore exclusive use checking - fix start / end position assertion - lint in verbose comment - never mind checking type of item in writeStreamItem; it causes a test to fail - resolve auto-commit issue * chore: prune redundant test-stream-sql * chore: lock packages * rename DB file, enforce exclusive access, use path.join explain auto-commit * capitalize SQL statements * remove dependency on n-readlines Co-authored-by: Brian Warner <warner@lothar.com>
- Loading branch information
Showing
4 changed files
with
289 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.