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

Get rid of localAddr derived from REST request

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • backlog
    • Cheshire-Cat
    • ns_server
    • 1

    Description

      Localhost address gets derived from REST request we should probably remove this practice as it is output of the REST endpoints depends on the socket which they are called on.

      The localhost should always be of the address family configured. 

      See, menelaus_util:local_addr, http://src.couchbase.org/source/xref/cheshire-cat/ns_server/src/menelaus_util.erl#416

      Example usage here, http://src.couchbase.org/source/xref/cheshire-cat/ns_server/src/bucket_info_cache.erl#219

      Attachments

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

        Activity

          People

            Abhijeeth.Nuthan Abhijeeth Nuthan
            Abhijeeth.Nuthan Abhijeeth Nuthan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty