-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#20881] yugabyted: yugabyted dynamically updates the user specified …
…configuration file. Summary: To address the above issue we have introduced the following changes in the behaviour of `--config` flag: 1. The `--config` flag will be specifically associated with the start command, removing its global applicability across all yugabyted commands. 2. Upon the execution of the start command with a specified configuration file (custom_config), yugabyted will no longer directly modify this user-provided file. Instead, it will: - Read and parse the contents of the custom_config file specified by the `--config` flag. - Create and update a yugabyted generated configuration file named yugabyted.conf within the base_dir/conf directory. - Populate yugabyted.conf with the settings from the custom_config file, supplemented by any necessary default settings. Jira: DB-9867 Test Plan: Manual Testing Reviewers: sgarg-yb, nikhil Reviewed By: nikhil Subscribers: yugabyted-dev, shikhar.sahay Differential Revision: https://phorge.dev.yugabyte.com/D32360
- Loading branch information
1 parent
4fb530b
commit 8be5a3c
Showing
1 changed file
with
154 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters