Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combined configuration file for all roles in cluster mode #4547

Open
sunng87 opened this issue Aug 13, 2024 · 0 comments
Open

Combined configuration file for all roles in cluster mode #4547

sunng87 opened this issue Aug 13, 2024 · 0 comments
Labels
C-enhancement Category Enhancements

Comments

@sunng87
Copy link
Member

sunng87 commented Aug 13, 2024

What type of enhancement is this?

Configuration

What does the enhancement do?

Currently we are using configuration file for each role of clusters, in order to customize a cluster, we need to create four files. This approach has a few drawbacks:

  • It's difficult for user to understand which function toggle to be configured on which file/role
  • It's difficult to share configuration with other people
  • It's introducing additional complexity when there is a need to configure one function on each file (remote wal, for example, on both datanode and meta). It's also error-prone.

This situation is also inconsistent with our design philosophy to use one binary for all scenario.

Implementation challenges

Some of the configuration items are highly related to particular instance of the cluster, for example, node_id is only meaning for a datanode instance and cannot share between others. We need a solution for this.

@sunng87 sunng87 added the C-enhancement Category Enhancements label Aug 13, 2024
@sunng87 sunng87 changed the title Combined configuration file all roles in cluster mode Combined configuration file for all roles in cluster mode Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements
Projects
None yet
Development

No branches or pull requests

1 participant