Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74217

Cluster ID is displayed instead of host name when clustering using JDBC_PING

    Details

    • Story Points:
      0.5
    • Fix Priority:
      2

      Description

      Steps to reproduce:

      1) Configure two nodes as a cluster

      2) Modify channel properties to use JDBC_PING by setting: 

      cluster.link.channel.properties.control=UDP(bind_addr=${cluster.link.bind.addr["cluster-link-control"]};mcast_group_addr=${multicast.group.address["cluster-link-control"]};mcast_port=${multicast.group.port["cluster-link-control"]}):JDBC_PING(connection_driver=${jdbc.default.driverClassName};connection_url=${jdbc.default.url};connection_username=${jdbc.default.username};connection_password=${jdbc.default.password}):MERGE3(min_interval=10000;max_interval=30000):FD_SOCK:FD_ALL:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK2(xmit_interval=500;xmit_table_num_rows=100;xmit_table_msgs_per_row=2000;xmit_table_max_compaction_time=30000;max_msg_batch_size=500;use_mcast_xmit=false;discard_delivered_msgs=true):UNICAST3(xmit_interval=500;xmit_table_num_rows=100;xmit_table_msgs_per_row=2000;xmit_table_max_compaction_time=60000;conn_expiry_timeout=0;max_msg_batch_size=500):pbcast.STABLE(stability_delay=1000;desired_avg_gossip=50000;max_bytes=4M):pbcast.GMS(join_timeout=2000;print_local_addr=true;view_bundling=true):UFC(max_credits=2M;min_threshold=0.4):MFC(max_credits=2M;min_threshold=0.4):FRAG2(frag_size=60K):RSVP(resend_interval=2000;timeout=10000)

      3) Start node1 and wait for it is fully started

      4) Start node2 and wait for it is fully started

       

      Expected Result:

      Node 1's console should display the "Accepted view" message with the host names followed by the control channels' addresses, as shown below:

      [Incoming-1,liferay-channel-control,hostname-8287][JGroupsReceiver:90] Accepted view [hostname-8287|1] (2) [hostname-8287, hostname2-58575]

      Actual Result:

      Node 1's console displays Node 2's cluster ID instead of Node 2's host name and control channel address, as shown below:

      [Incoming-1,liferay-channel-control,hostname-8287][JGroupsReceiver:90] Accepted view [hostname-8287|1] (2) [hostname-8287, 7dc4fc13-0d7d-f821-6312-62c0fbe8e4c4]

      Produced On:
      Tomcat 8.0.32 + MySQL 5.7. Portal master GIT ID: 6ad5d7a775fa75b7f9aede711c74ad167c945563.

      Tomcat 8.0.32 + MySQL 5.7. Portal ee-7.0.x GIT ID: 6a1f3038c429fc59586c696df30de7d44b0c3206.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                39 weeks, 1 day ago

                Packages

                Version Package