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

nexus: don't wrap Catalog in Mutex #1040

Merged
merged 1 commit into from
Jan 9, 2024
Merged

nexus: don't wrap Catalog in Mutex #1040

merged 1 commit into from
Jan 9, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Jan 9, 2024

Catalog's methods already handle synchronization,
besides when running migrations, which already uses exclusive connections

Also query source/destination peer in parallel

@serprex
Copy link
Contributor Author

serprex commented Jan 9, 2024

If in the future we wanted transactions or such, we should be lifting Catalog out of connection setup & replacing client with pool

Catalog's methods already handle synchronization,
besides when running migrations, which already uses exclusive connections

Also query source/destination peer in parallel
@serprex serprex enabled auto-merge (squash) January 9, 2024 18:53
@serprex serprex merged commit 9124df2 into main Jan 9, 2024
7 checks passed
@serprex serprex deleted the no-catalog-mutex branch February 14, 2024 03:19
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