Skip to content

CLDSRV-1069: Run the destination record cluster in CI - #6420

Draft
tmacro wants to merge 2 commits into
epic/S3C-10971-bnaas-d1from
improvement/CLDSRV-1069-record-cluster-ci
Draft

tmacro wants to merge 2 commits into
epic/S3C-10971-bnaas-d1from
improvement/CLDSRV-1069-record-cluster-ci

Conversation

@tmacro

@tmacro tmacro commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Spec: https://claude.ai/artifact/QhKsCqtGNzaVice35nvip9#bcc30d01-27db.m1yth80jczv.20396

What and why

  • s3c-ft-tests starts the record cluster: a second metadata standalone, metadata-records, with bucketd on 9001 and its MetaData key format fixed at v0. In production the destination records live in their own bucketd cluster at MetaData key format v0, so CI now does the same on every leg, v1 included.
  • config.s3c.json points notificationDestinationApi.bucketd.bootstrap at 9001, in place of the S3 metadata cluster on 9000. The comment that marked this sharing as temporary goes.
  • A new CI step, check-record-cluster.sh, runs after the tests. It fails when the records bucket is on 9000, or when 9001 has no marker at its MetaData key format v0 key. It lists the range from the marker key to the marker key, because a Basic bucketd listing ignores prefix.
  • The two bucketd processes use the fixed metrics port 9100. The bucketd that starts second logs the error and serves without metrics. Nothing in CI reads that port.
  • The route test of the raft session bucket list no longer filters out the records bucket. The filter came with the shared cluster, and the test now also proves that the bucket is not on 9000.

The s3c-ft-tests job gets a step that checks the destination records
after the tests:
- The S3 metadata cluster (bucketd on port 9000) must not hold the
  records bucket.
- The record cluster (bucketd on port 9001) must hold the marker
  record at its MetaData key format v0 key.

The script reads the bucket name and the marker key parts from
constants.js. The check fails on every leg until the next commit runs
the record cluster, because CI still keeps the records in the S3
metadata cluster.
@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.35%. Comparing base (e801b52) to head (ad2fad6).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph
see 2 files with indirect coverage changes

@@                     Coverage Diff                     @@
##           epic/S3C-10971-bnaas-d1    #6420      +/-   ##
===========================================================
- Coverage                    88.38%   88.35%   -0.03%     
===========================================================
  Files                          217      217              
  Lines                        14813    14813              
===========================================================
- Hits                         13092    13088       -4     
- Misses                        1721     1725       +4     
Flag Coverage Δ
checksums-disabled-tests 35.09% <ø> (ø)
file-ft-tests 71.72% <ø> (-0.08%) ⬇️
file-ft-tests-null-compat 72.20% <ø> (ø)
kmip-ft-tests 27.97% <ø> (ø)
mongo-v0-ft-tests 70.43% <ø> (+0.03%) ⬆️
mongo-v1-ft-tests 70.39% <ø> (-0.07%) ⬇️
multiple-backend 35.81% <ø> (ø)
s3c-ft-tests-v0 67.10% <ø> (+0.02%) ⬆️
s3c-ft-tests-v0-null-compat 67.12% <ø> (ø)
s3c-ft-tests-v1 67.04% <ø> (ø)
sur-tests 36.35% <ø> (ø)
sur-tests-inflights 39.11% <ø> (ø)
unit 76.47% <ø> (ø)
utapi-v2-tests 35.05% <ø> (ø)

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.

The s3c-ft-tests job starts a second metadata standalone,
metadata-records, for the destination records:
- Its bucketd answers on port 9001. Its config sets the MetaData key
  format to v0, as in production. The MetaData key format that the job
  gives the S3 metadata cluster does not change it.
- config.s3c.json points the destination record store at it.
- The two bucketd processes use the fixed metrics port 9100. The
  bucketd that starts second logs the error and serves without
  metrics. Nothing in CI reads that port.

The route test of the raft session bucket list keeps no filter for the
records bucket, because that bucket is not on the S3 cluster now.
@tmacro
tmacro force-pushed the improvement/CLDSRV-1069-record-cluster-ci branch from c034dc7 to ad2fad6 Compare December 3, 2026 17:47

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.

1 participant