Skip to content

CLDSRV-1092: Bump arsenal for placeholder delete stamps - #6404

Open
francoisferrand wants to merge 3 commits into
development/9.5from
bugfix/CLDSRV-1092-placeholder-delete-stamps
Open

francoisferrand wants to merge 3 commits into
development/9.5from
bugfix/CLDSRV-1092-placeholder-delete-stamps

Conversation

@francoisferrand

@francoisferrand francoisferrand commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

On MongoDB, deleting the current version goes through a placeholder master, and the master writes didn't keep the caller's stamps. A lifecycle expiration of a current null version (versioning-suspended bucket) was therefore notified as s3:ObjectRemoved:Delete instead of s3:LifecycleExpiration:Delete. Backbeat also couldn't tell the placeholder delete apart from the version delete, so it sent duplicate notifications and cold GC requests.

This bumps Arsenal to 8.6.7, which includes the fix (ARSN-669, scality/Arsenal#2754). Bumping Arsenal also brought in newer @smithy versions; the lockfile is deduplicated so each package keeps a single version.

Branch images also get a dev version tag now, like backbeat and metadata: next patch after the last release, plus the commit count and short sha (e.g. 9.5.12-dev.3.sha-abc1234). That makes them easy to compare with release versions when testing a fix. The sha tags are still pushed, since CI jobs pull images by sha. Dashboards get the same tag, and images get OCI labels and annotations with the commit date (matching SOURCE_DATE_EPOCH).

Issue: CLDSRV-1092

Lifecycle expiration of a current version on MongoDB went through a
placeholder master delete that always carried the plain delete originOp,
so it was notified as s3:ObjectRemoved:Delete. Pick the Arsenal fix
(ARSN-669) that keeps the caller's stamps on the master writes.

Issue: CLDSRV-1092
@bert-e

bert-e commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Hello francoisferrand,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval ⭐
/bypass_build_status Bypass the build and test status ⭐
/bypass_commit_size Bypass the check on the size of the changeset TBA ⭐
/bypass_incompatible_branch Bypass the check on the source branch prefix ⭐
/bypass_jira_check Bypass the Jira issue check ⭐
/bypass_peer_approval Bypass the pull request peers' approval ⭐
/bypass_leader_approval Bypass the pull request leaders' approval ⭐
/bypass_source_branch_lineage Bypass the cross-branch contamination check ⭐
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request.
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

@bert-e

bert-e commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Incorrect fix version

The Fix Version/s in issue CLDSRV-1092 contains:

  • None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 9.5.12

  • 9.6.1

Please check the Fix Version/s of CLDSRV-1092, or the target
branch of this pull request.

@codecov

codecov Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.55%. Comparing base (8235595) to head (65c156e).
⚠️ Report is 5 commits behind head on development/9.5.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph
see 1 file with indirect coverage changes

@@                 Coverage Diff                 @@
##           development/9.5    #6404      +/-   ##
===================================================
+ Coverage            90.53%   90.55%   +0.02%     
===================================================
  Files                  208      208              
  Lines                39289    39289              
===================================================
+ Hits                 35569    35580      +11     
+ Misses                3720     3709      -11     
Flag Coverage Δ
checksums-disabled-tests 46.29% <ø> (ø)
file-ft-tests 75.88% <ø> (+0.02%) ⬆️
file-ft-tests-null-compat 76.36% <ø> (+0.02%) ⬆️
kmip-ft-tests 37.87% <ø> (ø)
mongo-v0-ft-tests 76.90% <ø> (-0.03%) ⬇️
mongo-v1-ft-tests 76.91% <ø> (ø)
multiple-backend 44.53% <ø> (ø)
s3c-ft-tests-v0 71.66% <ø> (ø)
s3c-ft-tests-v0-null-compat 71.71% <ø> (ø)
s3c-ft-tests-v0-replication-compat 71.43% <ø> (+<0.01%) ⬆️
s3c-ft-tests-v1 71.63% <ø> (-0.01%) ⬇️
sur-tests 45.05% <ø> (+0.02%) ⬆️
sur-tests-inflights 48.39% <ø> (-0.03%) ⬇️
unit 80.53% <ø> (ø)
utapi-v2-tests 45.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Branch images were only tagged with the bare commit sha, which can't be
compared with release versions when testing a fix. They now also get a
dev pre-release tag of the next patch, e.g. 9.5.12-dev.gabc1234, like
metadata does. The sha tags are kept, CI jobs pull images by sha.

Images also get OCI labels and annotations, with the commit date as
creation time, matching SOURCE_DATE_EPOCH.

Issue: CLDSRV-1092
@francoisferrand
francoisferrand force-pushed the bugfix/CLDSRV-1092-placeholder-delete-stamps branch from d19c8f0 to 65c156e Compare November 29, 2026 11:31
@francoisferrand
francoisferrand requested review from a team, delthas and maeldonn November 29, 2026 11:31
MAJOR=$(echo "$LATEST_TAG" | cut -d. -f1)
MINOR=$(echo "$LATEST_TAG" | cut -d. -f2)
PATCH=$(echo "$LATEST_TAG" | cut -d. -f3)
echo "DEV_TAG=${MAJOR}.${MINOR}.$((PATCH + 1))-dev.g${GITHUB_SHA::7}" >> "$GITHUB_ENV"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says the dev tag has a commit count (9.5.12-dev.3.sha-abc1234), but this builds X.Y.Z-dev.g<sha> with no count. Without the count, semver compares the prerelease part as text, so two dev builds of the same patch sort by sha, not by age. Add the count, or fix the description.

Suggested change
echo "DEV_TAG=${MAJOR}.${MINOR}.$((PATCH + 1))-dev.g${GITHUB_SHA::7}" >> "$GITHUB_ENV"
COUNT=$(git rev-list --count "${LATEST_TAG}..HEAD")
echo "DEV_TAG=${MAJOR}.${MINOR}.$((PATCH + 1))-dev.${COUNT}.sha-${GITHUB_SHA::7}" >> "$GITHUB_ENV"

@bert-e

bert-e commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Incorrect fix version

The Fix Version/s in issue CLDSRV-1092 contains:

  • None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 9.5.12

  • 9.6.2

Please check the Fix Version/s of CLDSRV-1092, or the target
branch of this pull request.

This branch has not been deployed

No deployments
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