Skip to content

Conversation

@lutter
Copy link
Collaborator

@lutter lutter commented Apr 9, 2025

We used to only try to spawn a new copy worker when we were finished copying a table. But that can take a long time, and in between some connections might have become available. We now check every few minutes if a connection is available and spawn a new worker if it is

We used to only try to spawn a new copy worker when we were finished
copying a table. But that can take a long time, and in between some
connections might have become available. We now check every few minutes if
a connection is available and spawn a new worker if it is
@lutter lutter requested a review from zorancv April 9, 2025 19:59
@lutter lutter self-assigned this Apr 9, 2025
Copy link
Contributor

@zorancv zorancv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nifty!

})
.await
.map_err(|e| constraint_violation!("copy worker for {} panicked: {}", object, e))
.into()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@lutter lutter merged commit 1a2aaf3 into master Apr 9, 2025
6 checks passed
@lutter lutter deleted the lutter/copy-waker branch April 9, 2025 21:33
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.

3 participants