Skip to content

Commit ee994fb

Browse files
ZOOKEEPER-4830. Replace references to zk_followers (apache#2160)
It was renamed to zk_learners in 290f1fc / ZOOKEEPER-3117, but many references weren't updated.
1 parent d12aba5 commit ee994fb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

zookeeper-contrib/zookeeper-contrib-huebrowser/zkui/src/zkui/templates/view.mako

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ${shared.info_button(url('zkui.views.tree', id=cluster['id'], path='/'), 'View Z
9696
${show_stats(leader)}
9797

9898
<tr><td>Followers</td>
99-
<td>${leader.get('zk_followers', '')}</td>
99+
<td>${leader.get('zk_learners', '')}</td>
100100
</tr>
101101

102102
<tr><td>Synced Followers</td>

zookeeper-contrib/zookeeper-contrib-monitoring/ganglia/zookeeper.pyconf

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ collection_group {
4343
metric { name = "zk_approximate_data_size" }
4444
metric { name = "zk_open_file_descriptor_count" }
4545
metric { name = "zk_max_file_descriptor_count" }
46-
metric { name = "zk_followers" }
46+
metric { name = "zk_learners" }
4747
metric { name = "zk_synced_followers" }
4848
metric { name = "zk_pending_syncs" }
4949
metric { name = "zk_last_proposal_size" }

zookeeper-contrib/zookeeper-contrib-monitoring/ganglia/zookeeper_ganglia.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def metric_init(params=None):
212212
'zk_approximate_data_size': {'units': 'bytes'},
213213
'zk_open_file_descriptor_count': {'units': 'descriptors'},
214214
'zk_max_file_descriptor_count': {'units': 'descriptors'},
215-
'zk_followers': {'units': 'nodes'},
215+
'zk_learners': {'units': 'nodes'},
216216
'zk_synced_followers': {'units': 'nodes'},
217217
'zk_pending_syncs': {'units': 'syncs'},
218218
'zk_last_proposal_size': {'units': 'bytes'},

zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,7 @@ Moving forward, Four Letter Words will be deprecated, please use
24902490
zk_watch_count 0
24912491
zk_ephemerals_count 0
24922492
zk_approximate_data_size 27
2493-
zk_followers 4 - only exposed by the Leader
2493+
zk_learners 4 - only exposed by the Leader
24942494
zk_synced_followers 4 - only exposed by the Leader
24952495
zk_pending_syncs 0 - only exposed by the Leader
24962496
zk_open_file_descriptor_count 23 - only available on Unix platforms

0 commit comments

Comments
 (0)