Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-846

WSREP is not reporting why IST is not possible

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      On version 5.7.18, if for some reason IST is not possible, the server is not reporting why.

       

      How to reproduce.

      Configure a node to bind on an IP address that doesn't exist
      Stop the node
      Make some transactions on other nodes, so the Local state will be different from Group state
      Start node

       

      5.7.17-29.20.3 will report below message:

      2017-08-04T18:19:33.374193Z 2 [Note] WSREP: Check if state gap can be serviced using IST
      2017-08-04T18:19:33.374425Z 2 [Note] WSREP: IST receiver addr using tcp://10.0.3.210:4500
      2017-08-04T18:19:33.374784Z 2 [Note] WSREP: State gap can't be serviced using IST. Switching to SST

       

      5.7.17-27.20.2 will report the reason why:

      2017-08-04T19:28:40.695880Z 2 [Note] WSREP: IST receiver addr using tcp://10.0.3.210:4500
      2017-08-04T19:28:40.696269Z 2 [Warning] WSREP: Failed to prepare for incremental state transfer: Failed to open IST listener at tcp://10.0.3.210:4500', asio error 'bind: Cannot assign requested address': 99 (Cannot assign requested address)
      at galera/src/ist.cpp:prepare():349. IST will be unavailable.

       

      Seems to be related to below change log:

      https://www.percona.com/doc/percona-xtradb-cluster/LATEST/release-notes/Percona-XtraDB-Cluster-5.7.17-29.20.html

      Improved SST and IST log messages for better readability and unification.

       

      This change makes troubleshooting of issues more difficult. Ideally, it should report a reason why it failed. 

       

       

        Attachments

          Activity

            People

            Assignee:
            krunal.bauskar Krunal Bauskar (Inactive)
            Reporter:
            marcelo.altmann Marcelo Altmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist