Skip to content

libsql: Remove lazy pulling optimization#2147

Merged
penberg merged 1 commit intomainfrom
remove-lazy-pull
Aug 26, 2025
Merged

libsql: Remove lazy pulling optimization#2147
penberg merged 1 commit intomainfrom
remove-lazy-pull

Conversation

@penberg
Copy link
Collaborator

@penberg penberg commented Aug 26, 2025

The optimization attempts to reduce pulling when an application is writing. However, the logic is embedded in prepare(), which is totally wrong because a statement can be reused. Let's remove the optimization as incorrect.

Refs: tursodatabase/turso-cloud#5

The optimization attempts to reduce pulling when an application is
writing. However, the logic is embedded in prepare(), which is totally
wrong because a statement can be reused. Let's remove the optimization
as incorrect.

Refs: tursodatabase/turso-cloud#5
@penberg penberg added this pull request to the merge queue Aug 26, 2025
Merged via the queue into main with commit 020c070 Aug 26, 2025
19 checks passed
@penberg penberg deleted the remove-lazy-pull branch August 26, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants