Skip to content

fixes the wrong cluster config parameter name#864

Merged
mattisonchao merged 7 commits intomainfrom
fix.regression.conf
Jan 18, 2026
Merged

fixes the wrong cluster config parameter name#864
mattisonchao merged 7 commits intomainfrom
fix.regression.conf

Conversation

@mattisonchao
Copy link
Copy Markdown
Member

@mattisonchao mattisonchao commented Jan 18, 2026

Motivation

#859 introduced the server-side configuration, but it is breaking the existing cluster configuration parameter name.

Modification

  • Revert the breaking change and keep compatibility with the cluster config conf parameter.
  • Introduce --sconfig as server configuration path parameter.
  • Introduce --cconfig as cluster configuration path parameter.
  • Deprecated the conf parameter and use the new --cconfig instead.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a breaking change introduced in #859 by restoring backward compatibility for the cluster configuration parameter and introducing separate flags for server and cluster configuration.

Changes:

  • Renamed server config variable from confFile to sconfFile and introduced --sconfig flag
  • Maintained --conf flag for cluster configuration with deprecation notice, and added new --cconfig flag
  • Updated test code to use the new sconfFile variable name

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
cmd/server/cmd.go Renamed confFile variable to sconfFile and changed flag from --conf to --sconfig for server configuration
cmd/server/cmd_test.go Updated test to reference renamed sconfFile variable
cmd/coordinator/cmd.go Added --sconfig for server config, maintained deprecated --conf with -f short flag, and added --cconfig for cluster config

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mattisonchao and others added 2 commits January 18, 2026 13:45
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mattisonchao mattisonchao merged commit 977a99e into main Jan 18, 2026
13 of 14 checks passed
@mattisonchao mattisonchao deleted the fix.regression.conf branch January 18, 2026 06:09
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