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

starting in 7.2.4, and attempt to create a duplicate index returns 200+"index already exists" instead of 409+"index already exists"

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      7.2.4

      HTTP/1.1 200 OK
      Content-Length: 324
      Content-Type: application/json; version=7.2.4-N1QL
      Date: Wed, 17 Apr 2024 22:49:38 GMT
      captured: "4bd31036-7d42-4b4c-9321-48310be659dd"
      captured: "f991c6fc-ed7e-4036-808d-0937b46e71f1"
      captured: null
      captured: [{"code":4300,"msg":"The index 9160c337-b8cc-427b-8b7a-22a30098df27 already exists.","reason":{"name":"9160c337-b8cc-427b-8b7a-22a30098df27"}}]
      captured: "fatal"
      channelRead: true
      

      7.2.3

      HTTP/1.1 409 Conflict
      Content-Length: 325
      Content-Type: application/json; version=7.2.3-N1QL
      Date: Wed, 17 Apr 2024 21:53:14 GMT
      captured: "d26c5f0e-b059-4a19-a6ff-3fd2ee4c25c7"
      captured: "e805abd7-82b0-42c5-86ff-18c6aeb01f14"
      captured: null
      captured: [{"code":4300,"msg":"The index 1367d8ff-fdb6-4218-8ad4-5fd86113dd26 already exists.","reason":{"name":"1367d8ff-fdb6-4218-8ad4-5fd86113dd26"}}]
      

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            michael.reiche Michael Reiche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty