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

pools/default/buckets/<bucket>/nodes/<hostname>/stats returns 200 when bucket does not exist on that node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • backlog
    • 7.2.6, 7.6.1
    • ns_server
    • None
    • Triaged
    • 0
    • No

    Description

      Probably affects older versions too. The following REST API returns a 200 status code even though the bucket does not exist on this node. This is arguably misleading, and results in us making a request that gets as far as the stats_reader code which eventually returns this error when it cannot find a corresponding gen_server:

      [stats:error,2024-04-16T15:18:03.861+01:00,n_1@127.0.0.1:<0.5815.0>:stats_reader:log_bad_responses:260]Some nodes didn't respond: ['n_1@127.0.0.1']
      

      Attachments

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

        Activity

          People

            Abhijeeth.Nuthan Abhijeeth Nuthan
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty