Skip to content

[ISSUE #65]Add RocketMQ-on-DLeger group mode deploy - #87

Open
haifzhu wants to merge 5 commits into
apache:masterfrom
haifzhu:master
Open

[ISSUE #65]Add RocketMQ-on-DLeger group mode deploy#87
haifzhu wants to merge 5 commits into
apache:masterfrom
haifzhu:master

Conversation

@haifzhu

@haifzhu haifzhu commented Sep 26, 2021

Copy link
Copy Markdown

The Commit is added to add RocketMQ-on-DLeger group mode deploy.

@caigy caigy changed the title Add RocketMQ-on-DLeger group mode deploy [ISSUE #65]Add RocketMQ-on-DLeger group mode deploy Jul 13, 2022
@caigy caigy added the enhancement New feature or request label Jul 13, 2022
@zongtanghu

Copy link
Copy Markdown

I see there are some codes conflicts in this pr, can you resolve this pr in your local enviroments?

@RockteMQ-AI

Copy link
Copy Markdown

⚠️ Merge conflict detected

This PR has conflicts with the base branch and cannot be merged. Please rebase or merge the base branch into your branch and resolve the conflicts:

git fetch origin
git checkout master
git rebase origin/main
# resolve conflicts, then:
git push --force-with-lease

This is a one-time reminder. Feel free to @mention me for a re-review after conflicts are resolved.


Automated notification by github-manager-bot

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

This PR modifies 16 file(s) with 2427 lines of diff. No test changes detected — consider adding test coverage.


Automated review by github-manager-bot

Additional notes (not anchored to a changed line)

  • [INFO] README.md:1 — Large diff (2427 lines). Consider breaking into smaller, focused PRs for easier review. (line outside diff)

@@ -34,14 +34,18 @@ type BrokerSpec struct {
Size int `json:"size"`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No test changes detected alongside source modifications. Consider adding tests to cover the changes.

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

PR received and logged for review. This PR requires detailed code review by a maintainer.

Diff size: 2427 lines
Author: haifzhu (NONE)


Automated review by RockteMQ-AI

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

Review of PR #87: [ISSUE #65]Add RocketMQ-on-DLeger group mode deploy

Findings: 4 issue(s) identified (2 critical).
CLA: unknown

Please address the inline comments above.


Automated review by github-manager-bot

- brokerImage
- imagePullPolicy
- nameServers
- allowRestart

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Adding enableDLeger to the required list is a breaking API change for the served v1alpha1 Broker CRD. Existing Broker CRs that do not specify this field will fail validation on updates, and the schema does not declare a default. The field should be optional (removed from required) to preserve backward compatibility.

Comment thread README.md
size: 1
# nameServers is the [ip:port] list of name service
nameServers: ""
# Whether enable rocketmq-on-dleger group deploy

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

README documents enableDLeger: false as optional with an implicit default, but the CRD schema marks the field as required and does not declare a default value. The documented behavior does not match the schema.

nameServers:
description: NameServers defines the name service list e.g. 192.168.1.1:9876;192.168.1.2:9876
type: string
enableDLeger:

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 diff only updates the CRD schema and README; no controller, StatefulSet generation, or broker configuration code is modified to consume the new enableDLeger field. As submitted, the field has no effect and the RocketMQ-on-DLeger deployment mode is not implemented.

- brokerImage
- imagePullPolicy
- nameServers
- allowRestart

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No controller tests, reconciliation tests, or RBAC changes are included for the new DLeger mode, affinity, or tolerations support. A feature affecting broker topology and scheduling should have test coverage and any required RBAC updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants