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

Server error in GET /pools/default/.../docs endpoints doesn't get logged

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • 7.6.4
    • None
    • ns_server
    • None
    • Triaged
    • 0
    • Unknown

    Description

      The GET /pools/default/.../docs endpoints manually catch any errors from the underlying memcached calls (https://src.couchbase.org/source/xref/trunk/ns_server/apps/ns_server/src/ns_memcached.erl?r=63af4832#1799). This means that nothing is logged when we get a error thrown in this function.
      However, we do at least include the error in the response to the request (https://src.couchbase.org/source/xref/trunk/ns_server/apps/ns_server/src/menelaus_web_crud.erl?r=bf5d4781#158-165).

      We should probably log these server errors in the debug log.

      Attachments

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

        Activity

          People

            Abhijeeth.Nuthan Abhijeeth Nuthan
            peter.searby Peter Searby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty