Skip to content

HDDS-16116. Merge recent commits from master to HDDS-11233 - #10983

Open
devmadhuu wants to merge 632 commits into
apache:HDDS-11233from
devmadhuu:HDDS-16116
Open

HDDS-16116. Merge recent commits from master to HDDS-11233#10983
devmadhuu wants to merge 632 commits into
apache:HDDS-11233from
devmadhuu:HDDS-16116

Conversation

@devmadhuu

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Merge recent commits from master into the HDDS-11233 feature branch to keep it in sync with mainline. This brings the branch up to date with master and reconciles the StorageTier feature commits with recent master changes.

The feature branch's original commit history is preserved (first-parent), with a single Merge remote-tracking branch 'upstream/master' into HDDS-11233 commit on top.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-16116

How was this patch tested?

Verified core modules compile against the merged master locally; relying on this PR's CI to validate before merge. To be merged via GitHub after CI passes and review.

Made with Cursor

adoroszlai and others added 30 commits July 2, 2026 13:33
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…+ AGENTS.md) (apache#10483)

Co-authored-by: Siyao Meng <50227127+smengcl@users.noreply.github.com>
ArafatKhan2198 and others added 18 commits August 5, 2026 19:16
…tartup when local OM DB is missing. (apache#10950)

Co-authored-by: Claude Opus <noreply@anthropic.com>
… failure (apache#10915)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…rag failure (apache#10774)

Co-authored-by: SaketaChalamchala <saketa.chalamchala@gmail.com>
…ith the checkpoint index (apache#10943)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@devmadhuu
devmadhuu marked this pull request as ready for review August 11, 2026 08:53
@devmadhuu

Copy link
Copy Markdown
Contributor Author

@ivandika3 @jojochuang @ChenSammi @xichen01 @ashishkumar50 Kindly review this merge PR for merging master to feature branch for storage policy.

@ivandika3

ivandika3 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@devmadhuu Could you help to highlight any conflicts that need reviewing? It is almost impossible for me to take a look at 100k+ LOC changes. If there are no notable conflicts, then we can proceed in merging master to HDDS-11233.

@devmadhuu

Copy link
Copy Markdown
Contributor Author

Could you help to highlight any conflicts that need reviewing? It is almost impossible for me to take a look at 100k+ LOC changes. If there are no notable conflicts, then we can proceed in merging master to HDDS-11233.

Thanks @ivandika3 for helping in review. I think mostly below areas is something you can focus:

  1. SCMCommonPlacementPolicy#hasEnoughSpace — master moved to a slot-based availability check; the feature uses a StorageType + byte-based check. Signatures now using storageType + nodeManager.
  2. Pipeline providers (RatisPipelineProvider, SimplePipelineProvider, ECPipelineProvider, PipelineProvider, PipelineStateMap, PipelineStateManager(Impl), PipelineManager(Impl), WritableECContainerProvider) — kept master's newPipelineBuilder pattern and added setSupportedStorageTier(...) + a storage-tier filter in getPipelines.
  3. BlockManagerImpl#allocateBlock — master used getDefaultTier; feature adds storagePolicy + creation/fallback-tier logic. Kept the fallback logic on top of master's flow.
  4. ContainerProtocolCalls#writeChunkAsync / BlockOutputStream — both sides added a new trailing arg (master: containerAutoCreate, feature: storageType). Merged into one overload chain carrying both.
  5. Container state/manager layer (ContainerManager(Impl), ContainerStateManager(Impl), ContainerStateManagerInvoker, ContainerInfo) — feature's getMatchingContainerAndStorageTier rename + setStorageTier(...)
  6. NodeUtils — updated to master's getNode(DatanodeID) after the DatanodeID/DatanodeDetails split.
  7. Proto (OmClientProtocol.proto, hdds.proto, DatanodeClientProtocol.proto, ScmAdminProtocol.proto, ScmServerDatanodeHeartbeatProtocol.proto) — feature's storage-tier/policy fields (e.g. OmBucketInfo/OmBucketArgs storagePolicy/allowFallbackStoragePolicy) . All additive, no renumbering of existing fields.
  8. EC/Ratis under-replication handlers (ECUnderReplicationHandler, RatisUnderReplicationHandler)

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.