Skip to content

HDDS-5054. Merge SCM HA configs to ScmConfigKeys.#2506

Merged
vivekratnavel merged 5 commits intoapache:masterfrom
aswinshakil:HDDS-5054
Aug 17, 2021
Merged

HDDS-5054. Merge SCM HA configs to ScmConfigKeys.#2506
vivekratnavel merged 5 commits intoapache:masterfrom
aswinshakil:HDDS-5054

Conversation

@aswinshakil
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

To Merge SCM HA Configuration into ScmConfigKeys and remove unused configurations.

What is the link to the Apache JIRA

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

How was this patch tested?

The patch was tested using Unit tests, Integration tests and Acceptance tests using GitHub CI.

https://github.com/aswinshakil/ozone/actions/runs/1099362111

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we add appropriate prefixes to identify the keys easier?

For instance, this can be renamed to OZONE_SCM_HA_RATIS_RPC_TYPE. All the other configs can also be prefixed with "OZONE_SCM_HA"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can remove these tests as they aren't meaningful.

Copy link
Copy Markdown
Contributor

@avijayanhwx avijayanhwx left a comment

Choose a reason for hiding this comment

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

Thanks for working on this Aswin!

A question for @bshashikant / @GlenGeng. Was the objective to move all the configs in SCM HA config to the old method of declaring configs (through ozone-default)? Or do we want to create a single SCMConfiguration class of type ConfigGroup that has all the configs from both the old files?

@bshashikant
Copy link
Copy Markdown
Contributor

Thanks for working on this Aswin!

A question for @bshashikant / @GlenGeng. Was the objective to move all the configs in SCM HA config to the old method of declaring configs (through ozone-default)? Or do we want to create a single SCMConfiguration class of type ConfigGroup that has all the configs from both the old files?

I am ok with either of the approaches.

Copy link
Copy Markdown
Contributor

@avijayanhwx avijayanhwx left a comment

Choose a reason for hiding this comment

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

LGTM +1, pending CI

@vivekratnavel
Copy link
Copy Markdown
Contributor

Merging this since TestBlockDeletion test is flaky - https://issues.apache.org/jira/browse/HDDS-5605

@vivekratnavel vivekratnavel merged commit bbf9acf into apache:master Aug 17, 2021
@aswinshakil aswinshakil deleted the HDDS-5054 branch January 27, 2022 05:46
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.

4 participants