Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1021

UpsertDesignDocument requests routed to wrong bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.0
    • 2.1.8
    • None
    • None
    • 1

    Description

      Was getting errors(design document not found) when running design document upsert to programmable add view indexes. Started going through the code and found out the path request was including the bucket name at the beginning of the path. Worked after testing adding the bucket name

      bucket_viewindexes.go line 342
      Path: fmt.Sprintf("/_design/%s", ddocName),
      should be Path: fmt.Sprintf("/%s/_design/%s", bucketName, ddocName),

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            bvoelker Brian Voelker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty