Repository navigation
Conversation
This was referenced Dec 2, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3321 +/- ##
=============================================
- Coverage 64.24% 50.99% -13.25%
+ Complexity 10398 8873 -1525
=============================================
Files 840 942 +102
Lines 71755 81617 +9862
Branches 8611 9939 +1328
=============================================
- Hits 46099 41623 -4476
- Misses 23004 36501 +13497
- Partials 2652 3493 +841 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1 task
jitheshtr
marked this pull request as ready for review
December 2, 2026 21:38
Include the bounded writer and named DELETE wiring. Reject new named DELETEs in the configured namespace before either deletion path when paused, and verify pause through native and S3 HTTP requests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jitheshtr
force-pushed
the
jirajan/pause-named-retirement
branch
from
December 3, 2026 01:33
8942a02 to
c107499
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a startup setting,
frontend.named.blob.retirement.paused, that rejects authorized native and S3 single-object named DELETEs for the configured namespace with HTTP 405 before either delete path runs. It defaults tofalseand requires a namespace when set totrue. Clearing the namespace would restore legacy physical DELETE; pausing keeps the namespace selected and leaves fence-aware reads and cleaner exclusions unchanged.The pause is a frontend admission gate, not a drain or a gate for direct callers. The runbook requires blocking ingress and confirming zero in-flight retirements on each old process before restart. The per-process drain signal still needs to be implemented and rehearsed before activation.
Merge bounded retirement, then DELETE wiring, then this PR. Review the pause-only diff (before squash) while those dependencies are open.
Testing Done
Local code review completed
Passed:
./gradlew --no-daemon --max-workers=2 --console=plain :ambry-frontend:test --tests '*NamedBlobDeleteHandlerTest' :ambry-frontend:intTest --tests '*S3NamedBlobRetirementIntegrationTest'(12 tests). The HTTP fixture starts a real frontend with the pause property set, asserts 405 for native and S3 named DELETE, and verifies no named DB calls.Passed on the initial pause commit:
./gradlew --no-daemon --max-workers=2 --console=plain :ambry-api:test --tests '*FrontendConfigTest' :ambry-frontend:test --tests '*NamedBlobDeleteHandlerTest' --tests '*S3BatchDeleteHandlerTest' --tests '*FrontendRestRequestServiceTest' :ambry-frontend:intTest --tests '*S3NamedBlobRetirementIntegrationTest'(91 tests). Fleet pause and drain were not rehearsed.Generated with GitHub Copilot CLI