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

limit wsrep_node_name to 64 bytes

    XMLWordPrintable

    Details

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

      Description

      • Currently user can pass arbitrarily┬álong wsrep_node_name. It is generally limited by my.cnf parsing module semantics as line in my.cnf can't exceed 4096 bytes but still some random wsrep_node_name is not good especially now that we expose this name through pxc_cluster_view.
      • If user fail to supply the name PXC will use global host name that is obtain using gethostname. gethostname limit the name of the host to 64 bytes.
      • Inspired from these limits we will limit wsrep_node_name to 64 bytes.

        Attachments

          Activity

            People

            Assignee:
            krunal.bauskar Krunal Bauskar (Inactive)
            Reporter:
            krunal.bauskar Krunal Bauskar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist