Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30686

With wsrep_sst_rsync , Node goes into endless loop when trying to establish connection to donor for IST

    XMLWordPrintable

Details

    Description

      Platform: FreeBSD

      With regex in wsrep_sst_rsync script function check_pid_and_port :

       
      if [ $lsof_available -ne 0 ]; then
      port_info=$(lsof -Pnl -i ":$port" 2>/dev/null | \
      grep -F '(LISTEN)')
      echo "$port_info" | \
      grep -q -E "[[:space:]](\\*|\\[?::\\]?):$port[[:space:]]" && busy=1
      
      

      If the database is bind on specific IP address, not * the IST will never happen and Joiner node will loop forever and wait "rsync" to start listen on * .

      When we remove lsof package, the * wsrep_sst_rsync* script fallback to sockstat and its working fine.

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            pramod.mahto@mariadb.com Pramod Mahto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.