core icon indicating copy to clipboard operation
core copied to clipboard

Fix Cluster Status report

Open wezell opened this issue 9 years ago • 2 comments

With the changes to the heartbeat table, we need to make sure that the cluster status report is giving us good data. For example, I have a cluster of two servers 👍

MariaDB [dotcms]> select * from cluster_server;
+--------------------------------------+--------------------------------------+---------------+----------------+------+------------+-----------------------+-----------------+--------------+------+
| server_id                            | cluster_id                           | name          | ip_address     | host | cache_port | es_transport_tcp_port | es_network_port | es_http_port | key_ |
+--------------------------------------+--------------------------------------+---------------+----------------+------+------------+-----------------------+-----------------+--------------+------+
| 6e570d83-a737-4210-8d90-4992c3c41ee9 | f05c3056-4f59-42f3-bed5-890f9dc27236 | hot-fries.lan | 192.168.86.110 | NULL |       5702 |                  9310 |            NULL |         9201 | n/a  |
| 857fca00-6b50-48dc-8dd9-882b26a47f8b | f05c3056-4f59-42f3-bed5-890f9dc27236 | hot-fries.lan | 192.168.86.110 | NULL |       5701 |                  9309 |            NULL |         9200 | n/a  |
+--------------------------------------+--------------------------------------+---------------+----------------+------+------------+-----------------------+-----------------+--------------+------+

And I am getting this report: screen shot 2017-11-02 at 1 11 23 pm

wezell avatar Nov 02 '17 17:11 wezell

PR core: https://github.com/dotCMS/core/pull/12985 PR ee: https://github.com/dotCMS/enterprise-2.x/pull/553

dsilvam avatar Nov 07 '17 16:11 dsilvam

Passed QA. Tested fix with distribution generated from master repo. Status report is working for both nodes. image Ubuntu 14.04.1 / Postgres 9.3.7 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8

shaydotcms avatar Nov 30 '17 20:11 shaydotcms