Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsql/replication: Fix sync with large databases #432

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

LucioFranco
Copy link
Contributor

Bumps the version of tonic to fix this bug hyperium/tonic#1540

@psarna psarna added this pull request to the merge queue Sep 29, 2023
Merged via the queue into main with commit 4dc41b8 Sep 29, 2023
4 checks passed
@psarna psarna deleted the lucio/bump-tonic branch September 29, 2023 05:32
@MarinPostma MarinPostma mentioned this pull request Oct 17, 2023
MarinPostma pushed a commit that referenced this pull request Oct 17, 2023
* wal_hook: add on_savepoint_undo and on_checkpoint

They will be overwritten along with bottomless integration

* treewide: integrate bottomless as WAL hook

From now on, bottomless can be enabled in sqld as a regular WalHook.
TODO: the main functionality, i.e. actually replicating frames is not hooked to
anything yet. It will be done, but it should be heavily considered to just
queue writes with an unbounded channel (which allows sync insertions), so that
everything happens in the background.

* treewide: replicate and checkpoint frames with bottomless

Right now the replication and checkpointing is sync and blocking
- that will need to be rewritten to async later.
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.

None yet

2 participants