-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
chore(hybrid-cloud): Adds silo modes to most unmarked tasks #54086
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #54086 +/- ##
=======================================
Coverage 79.63% 79.63%
=======================================
Files 4982 4982
Lines 211093 211173 +80
Branches 35960 35962 +2
=======================================
+ Hits 168094 168170 +76
- Misses 37835 37837 +2
- Partials 5164 5166 +2
|
@@ -92,6 +97,7 @@ def delete_unreferenced_blobs(blob_model, blob_index_model, blob_ids): | |||
pass | |||
|
|||
|
|||
# TODO(hybrid-cloud): Remove this once backfills are done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the time for this to be removed is soon. I plan on going through avatar code this week so we can close of that pile of work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I have a local commit that has started removing some of the fallback file lookup as part of the split db work but I can throw it on the backburner it if you're planning to tackle this since I think you have more context that I'm probably missing 😅 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had some time today to go through avatars again and put up #54118 to make writes use controlfile consistently but still have read support for region files (for single-tenant and self-hosted).
Should all new tasks explicitly specify which silo it should run in? |
@Zylphrex Ideally yes, as it will allow us to validate silo-specific behavior a bit better in testing. @markstory probably has a more comprehensive answer as to when this is necessary though. |
078ae19
to
18675bb
Compare
2e86b8c
to
f85ae12
Compare
Ideally yes. However, it is most important for new control silo tasks, as if we have all of those annotated, we can infer which ones are region silo based. However, like Gabe said, having the annotations on all tasks helps us ensure that we're not crossing boundaries accidentally. |
No description provided.