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

[BP MB-39857 to 6.6.1] - [N1QL] creating an index on bucket name with % in the name fails

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No

    Description

      While testing out the MP I ran into this error. I have a bucket named default%bucket. When I try to create an index on this bucket through various methods(curl, UI, cbq): it always fails with this error:
      create index idx on `default%bucket`(name)

      [

      { "code": 5000, "msg": "GSI CreateIndex() - cause: Encountered transient error. Index creation will be retried in background. Error: Index idx will retry building in the background for reason: Error Connecting KV 127.0.0.1:8091 Err HTTP error 404 Object Not Found getting \"http://127.0.0.1:8091/pools/default/buckets/default%2525bucket?bucket_uuid=7b1183539c684de465392fe007fa43d5\": Requested resource not found.\r\n.\n", "query": "create index idx on `default%bucket`(name)" }

      ]

      I do not see this issue with default.bucket, defferred indexes are created correctly. This issue is seen even before the fix on 6.5.1-6299

      Logs attached.

      Attachments

        Issue Links

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

          Activity

            People

              bhargava.yadavalli Bhargava Yadavalli (Inactive)
              jeelan.poola Jeelan Poola
              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