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

Fix cluster piece getter #3345

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix cluster piece getter #3345

merged 1 commit into from
Jan 14, 2025

Conversation

nazar-pc
Copy link
Member

Weak reference was created and original was dropped immediately 😭

This effectively broke piece getter for piece cache sync purposes.

Since in cluster setup cluster cache worker only depends on other workers' caches, but not on its own (since #3290, which introduced this regression), we do not need a weak reference here (also added useful comment in another place where it is in fact needed).

Code contributor checklist:

@nazar-pc nazar-pc requested a review from teor2345 January 14, 2025 00:53
@nazar-pc nazar-pc enabled auto-merge January 14, 2025 00:55
@nazar-pc nazar-pc added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit 6aa60d7 Jan 14, 2025
15 checks passed
@nazar-pc nazar-pc deleted the fix-cluster-piece-getter branch January 14, 2025 09:30
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