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

CreateIndex, Prepare failed, invalid URL escape \"%Kb\

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • fts
    • Centos 7 64 bit; CB EE 7.1.0-1788

    Description

      Summary
      Creating FTS index on a bucket with name "EwHvuwZQdWQ0Rk6xpGIQGCWnaCsONB-cDgL_NhIP1JaOQGbxH5f%KbnNUk0m3R-8-144000" failed. Seems like FTS is not escaping % properly. 

      Error
      2021-11-26 08:01:39,569 | infra | ERROR   | MainThread | [Rest_Connection:_urllib_request:222] Status: 400 Content:

       {"error":"rest_create_index: error creating index: fts0, err: manager_api: CreateIndex, Prepare failed, err: bleve: Prepare, err: parse http://127.0.0.1:8091/pools/default/buckets/EwHvuwZQdWQ0Rk6xpGIQGCWnaCsONB-cDgL_NhIP1JaOQGbxH5f%KbnNUk0m3R-8-144000: invalid URL escape \"%Kb\"","request":{"name":"fts0","params":{"doc_config":{"docid_prefix_delim":"","docid_regexp":"","mode":"scope.collection.type_field","type_field":"type"},"mapping":{"analysis":{},"default_analyzer":"standard","default_datetime_parser":"dateTimeOptional","default_field":"_all","default_mapping":{"dynamic":true,"enabled":false},"default_type":"_default","docvalues_dynamic":false,"index_dynamic":true,"store_dynamic":false,"type_field":"_type","types":{"AL4nnTj4VUILhsxY-a56cFLknf1_lOKYLKgYq3t1VFAuUT4GVbrGXcrOdtxIycCft%lQulgUi9h86z5UZfpiM6-1whLIeBG8k7NUvWZBHXgVTV-iCNUGcyff3g_7HKyO4avBOHAZVBZSu%vWZU8VN0ISFhB_1P1VfMUCyA2H8m0Q-8-155000.ieIuh7T5vWJ-jmsA0ZzCpUyyVrw_BIfFmaEwkDuY1N77ebhHaYcYCD53Y2P4e73tLS5jnksjoSP24JWmbvoWM5%UWC%2HGwpZB36q1bKaZsZedsw39ZFoYH_1_jnLV5JA5gqWb1z8T6awsQimgtVE%eBNMx50Hu_oT64Q%sidmY7HT0NtMMgX37NSHV2a82ZXGCz7R%5auFuN3qHgjZK5gA9L-8-155000":{"dynamic":true,"enabled":true}}},"store":{"indexType":"scorch","segmentVersion":15}},"planParams":{"indexPartitions":1,"maxPartitionsPerPIndex":1024},"sourceName":"EwHvuwZQdWQ0Rk6xpGIQGCWnaCsONB-cDgL_NhIP1JaOQGbxH5f%KbnNUk0m3R-8-144000","sourceParams":{},"sourceType":"gocbcore","type":"fulltext-index"},"status":"fail"}

      (Note that, I also tried the same on UI and it fails there as well)

      nodes of the cluster:
      172.23.107.221 = kv
      172.23.107.232 = kv, fts
      172.23.107.240 = n1ql

       

      Attachments

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

        Activity

          People

            sumedh.basarkod Sumedh Basarkod (Inactive)
            sumedh.basarkod Sumedh Basarkod (Inactive)
            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