-
Notifications
You must be signed in to change notification settings - Fork 2.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
Make all durability policy names constants #17448
Conversation
Signed-off-by: Manan Gupta <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17448 +/- ##
==========================================
- Coverage 67.67% 67.65% -0.03%
==========================================
Files 1583 1584 +1
Lines 254363 254360 -3
==========================================
- Hits 172140 172083 -57
- Misses 82223 82277 +54 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Manan Gupta <[email protected]>
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.
LGTM
Pointing out that users adding a custom policy (like us) will need to add a const
to the new reparentutil/policy
dir, in addition to our "shim" in reparentutil
@timvaillancourt No, not really. Your shim will just go into the |
Description
This PR makes the durability policy names constants and uses them everywhere. This makes the code more clean.
Related Issue(s)
Checklist
Deployment Notes