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

Deprecation of Master nomenclature #203

Conversation

kaushalmahi12
Copy link
Contributor

@kaushalmahi12 kaushalmahi12 commented Aug 12, 2022

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
Master Nomenclature Issue

Describe the solution you are proposing
This change is to stop the usage of master keyword in the performance-analyzer-rca codebase.

Additional context
Add any other context or screenshots about the feature request here.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Kaushal Kumar and others added 3 commits August 12, 2022 11:23
Signed-off-by: Kaushal Kumar <kshkmr@amazon.com>

Signed-off-by: Kaushal Kumar <kshkmr@amazon.com>
* version increment automation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* version increment automation

Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: Kaushal Kumar <kshkmr@amazon.com>
Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@amazon.com>

Co-authored-by: Sagar Upadhyaya <sagar.upadhyaya.121@amazon.com>
Signed-off-by: Kaushal Kumar <kshkmr@amazon.com>
@kaushalmahi12 kaushalmahi12 requested a review from a team August 12, 2022 18:25
@kaushalmahi12 kaushalmahi12 changed the title Ide compliant change Deprecation of Master nomenclature Aug 12, 2022
Copy link
Member

@kkhatua kkhatua left a comment

Choose a reason for hiding this comment

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

Recommend breaking this into multiple commits spanning groups of packages.
That will make it easier to split the review across multiple eyes.

@@ -21,7 +21,7 @@
"max-flow-units-per-vertex-buffer": 200,

"tags": {
"locus": "idle-master-node"
"locus": "cluster_manager-node"
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this prefix idle-

Copy link
Contributor Author

@kaushalmahi12 kaushalmahi12 Aug 16, 2022

Choose a reason for hiding this comment

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

I think this is correct. Because there is another file called rca_idle_cluster_manager where the locus has value as "idle-cluster_manager-node".

@@ -789,16 +789,17 @@ public String toString() {
}

public static class Constants {
public static final String PENDING_TASKS_COUNT_VALUE = "Master_PendingQueueSize";
public static final String PENDING_TASKS_COUNT_VALUE =
"ClusterManager_PendingQueueSize";
Copy link
Member

Choose a reason for hiding this comment

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

nit: single line assignment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

public static final String sElectionTermPath = "election_term";
public static final String sHttpPath = "http";
public static final String sOSPath = "os_metrics";
public static final String sHeapPath = "heap_metrics";
public static final String sNodesPath = "node_metrics";
public static final String sPendingTasksPath = "pending_tasks";
public static final String sMasterThrottledTasksPath = "master_throttling_metrics";
public static final String sClusterManagerThrottledTasksPath =
"cluster_manager_throttling_metrics";
Copy link
Member

Choose a reason for hiding this comment

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

nit: single line assignment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

Signed-off-by: Kaushal Kumar <kshkmr@amazon.com>
@@ -54,8 +54,8 @@ jobs:
- name: Checkout Performance Analyzer
uses: actions/checkout@v2
with:
repository: opensearch-project/performance-analyzer
ref: main
repository: kaushalmahi12/performance-analyzer
Copy link
Contributor

@dzane17 dzane17 Aug 17, 2022

Choose a reason for hiding this comment

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

Is this PA repository & ref change temporary?

@kaushalmahi12
Copy link
Contributor Author

I will break the commit into smaller ones and raise the PR against those. It will help the reviewers to review the changes without getting tired.

@kaushalmahi12 kaushalmahi12 deleted the IDE_compliant_change branch August 17, 2022 19:02
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.

5 participants