Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43084

Remove "optional" memcached interface logic

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • Cheshire-Cat
    • ns_server
    • None
    • 1

    Description

      Filed after conversation in http://review.couchbase.org/c/kv_engine/+/141254

      Background:

      memcached added support for binding to IPv4 and IPv6 before we started the company and would "by default" bind to all both IPv4 and IPv6 if it could find it. As part of adding support for IPv6 in our product the parameters was added; initially as a boolean variable. The problem was that ns_server would set it to true even if there wasn't an IPv6 stack on the machine; causing memcached to refuse to start as it couldn't bind to the IPv6 address. ns_server would then use "optional" as a way to prevent memcached from refusing to start when there was no IPv6 on the host.

       

      Proposal:

      ns-server should discover what interfaces the host/operating system provides provides (dualstack, only one of them etc) and it'll just work out of the box for customers. 

      We can then get rid of "optional" logic in memcached interfaces. 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dfinlay Dave Finlay
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty