mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
* Deprecate MASTER capability and remove usages * Deprecate Periodical.masterOnly() and replace with Periodical.leaderOnly * Deprecate `is_master` and replace with `is_leader` * Replace is_master with is_leader in config files * Replace deprecated usage of JadConfig `validator` with `validators` * Remove @Deprecated annotation from private member * Make field final * Deprecate `stale_master_timeout` and add `stale_leader_timeout` * Deprecate @RestrictToMaster and add @RestrictToLeader * deprecate Node#isMaster and add Node#isLeader * Deprecate `is_master` in `NodeSummary` and add `is_leader` * More replacements of "master" with "leader" * Replace "is_master" in test fixture * Convert logging statements * Deprecate NO_MASTER and MULTI_MASTER notifications * Replace "master" with "leader" for notifications in UI * Deprecate usage in ProxiedResource * Replace "master" with "leader" in most parts of UI * Add upgrade notes * Replace master with leader and main in comments * Make change to exposed configuration non-breaking * Fix missed "master" in JavaDoc * Add missing JsonProperty annotation and add test for serializing node * Add missing license headers Co-authored-by: Bernd Ahlers <bernd@graylog.com>