Skip to content

Verify manifest guards before enabling retirement and document PUT contention - #3317

Merged
jitheshtr merged 3 commits into
linkedin:masterfrom
jitheshtr:jirajan/manifest-migration-safety
Dec 1, 2026
Merged

jitheshtr merged 3 commits into
linkedin:masterfrom
jitheshtr:jirajan/manifest-migration-safety

Conversation

@jitheshtr

@jitheshtr jitheshtr commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor
Order PR Status Runtime effect
1 Transaction executor ✅ Merged Preserves known transaction outcomes.
2 Exact-version manifests ✅ Merged Adds the store; no frontend caller.
3a (you are here) Migration safety Open Runbook and integration coverage.
3b Retirement-aware reads Open Gated GET, LIST and PUT changes.
3c Bounded retirement Draft Adds an exact-retry handle; no frontend caller.

Summary

Review the two-file migration safety diff.

Install and verify both tuple guards before the retirement fence. Fresh and resumed installs share one activation checklist. Before production DDL, compare PUT before migration, with triggers installed but publication off, and alongside publication. Compare publication alone and under mixed load using equivalent unpublished versions.

At REPEATABLE READ, publication times out while an unrelated PUT holds the insert guard’s lock, succeeds without the guard, and succeeds on retry after the guarded PUT commits. This test documents contention; it does not qualify production load. No production DDL is applied.

Testing Done

./gradlew --offline --no-daemon --max-workers=2 -q :ambry-named-mysql:intTest --tests '*NamedBlobManifestStoreIntegrationTest': 20 passed on private MySQL, no skips. Representative mixed-load testing in both directions remains a rollout prerequisite.

Generated with GitHub Copilot CLI

@codecov-commenter

codecov-commenter commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.35%. Comparing base (52ba813) to head (f642f00).
⚠️ Report is 433 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (52ba813) and HEAD (f642f00). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (52ba813) HEAD (f642f00)
3 2
Additional details and impacted files
@@              Coverage Diff              @@
##             master    #3317       +/-   ##
=============================================
- Coverage     64.24%   31.35%   -32.89%     
+ Complexity    10398     5956     -4442     
=============================================
  Files           840      941      +101     
  Lines         71755    81285     +9530     
  Branches       8611     9853     +1242     
=============================================
- Hits          46099    25488    -20611     
- Misses        23004    53713    +30709     
+ Partials       2652     2084      -568     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

jitheshtr and others added 3 commits December 1, 2026 11:49
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jitheshtr
jitheshtr force-pushed the jirajan/manifest-migration-safety branch from b980534 to f642f00 Compare December 1, 2026 19:50
@jitheshtr
jitheshtr merged commit 6395942 into linkedin:master Dec 1, 2026
19 of 21 checks passed
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.

3 participants