Skip to content

Commit

Permalink
Deprecate the Master nomenclature in 2.0 (opensearch-project#415)
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
Signed-off-by: Angie Zhang <langelzh@amazon.com>
  • Loading branch information
sbcd90 authored and Angie Zhang committed Jun 29, 2022
1 parent 76b3107 commit 96f868e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import java.time.Instant
* date based index. The frequency of rolling over indices is controlled by the `opendistro.alerting.alert_rollover_period` setting.
*
* These indexes are created when first used and are then rolled over every `alert_rollover_period`. The rollover is
* initiated on the master node to ensure only a single node tries to roll it over. Once we have a curator functionality
* initiated on the cluster manager node to ensure only a single node tries to roll it over. Once we have a curator functionality
* in Scheduled Jobs we can migrate to using that to rollover the index.
*/
// TODO: reafactor to make a generic version of this class for finding and alerts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class JobSweeper(
* the cluster, a replica is added, removed or promoted to primary).
*
* This callback won't be invoked concurrently since cluster state changes are applied serially to the node
* in the order they occur on the master. However we can't block this callback for the duration of a full sweep so
* in the order they occur on the cluster manager. However we can't block this callback for the duration of a full sweep so
* we perform the sweep in the background in a single threaded executor [fullSweepExecutor].
*/
override fun clusterChanged(event: ClusterChangedEvent) {
Expand Down

0 comments on commit 96f868e

Please sign in to comment.