Replace "master" terminology in Log message #2539
Labels
enhancement
Enhancement or improvement to existing feature or request
Severity-Blocker
v2.0.0
Version 2.0.0
Is your feature request related to a problem? Please describe.
With the issue #472, "master" terminology is going to be replaced by "cluster manager" to promote inclusive language.
"master" terminology in log messages have not be changed yet.
The log message means the String-type message defined by
log4j.Logger
, such as inlogger.info()
, orlogger.warn()
.Some keywords in the log messages are:
For example ,there are 3 consecutive log messages contain "master" during a node start up without any configuration in
opensearch.yml
:[2022-03-21T11:29:55,117][INFO ][o.o.c.c.ClusterBootstrapService] [ip-172-00-00-000] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2022-03-21T11:29:55,162][INFO ][o.o.c.s.MasterService ] [ip-172-00-00-000] elected-as-master ([1] nodes joined)[{ip-172-00-00-000}{EW9xY5H-TmisjI03i45_VA}{EPvDlgLmRHS6FzfdUu4NPw}{127.0.0.1}{127.0.0.1:9300}{dimr}{shard_indexing_pressure_enabled=true} elect leader, BECOME_MASTER_TASK, FINISH_ELECTION], term: 2, version: 4, delta: master node changed {previous [], current [{ip-172-31-15-168}{EW9xY5H-TmisjI03i45_VA}{EPvDlgLmRHS6FzfdUu4NPw}{127.0.0.1}{127.0.0.1:9300}{dimr}{shard_indexing_pressure_enabled=true}]}
[2022-03-21T11:29:55,198][INFO ][o.o.c.s.ClusterApplierService] [ip-172-00-00-000] master node changed {previous [], current [{ip-172-00-00-000}{EW9xY5H-TmisjI03i45_VA}{EPvDlgLmRHS6FzfdUu4NPw}{127.0.0.1}{127.0.0.1:9300}{dimr}{shard_indexing_pressure_enabled=true}]}, term: 2, version: 4, reason: Publication{term=2, version=4}
Describe the solution you'd like
Replace
master
tocluster-manager
in the log messages.Describe alternatives you've considered
none.
Additional context
Related to issue #1548 if the log message doesn't impact backwards compatibility.
The text was updated successfully, but these errors were encountered: