Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1378

not able to create primary index using python sdk 3.0.5 cb 6.0.3-2895

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • .future
    • 3.0.5
    • None
    • None
    • 1

    Description

      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase/exceptions.py", line 1411, in wrapped
      return func(*args, **kwargs)
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase/management/queries.py", line 186, in create_primary_index
      self._create_index(bucket_name, fields, index_name, *options, **kwargs)
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase/management/queries.py", line 156, in _create_index
      self._n1ql_index_create(bucket_name, index_name, fields=fields, **final_args)
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase/management/queries.py", line 125, in _n1ql_index_create
      return IxmgmtRequest(self._admin_bucket, 'create', info, **options).execute()
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase_core/_ixmgmt.py", line 160, in execute
      return [x for x in self]
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase_core/_ixmgmt.py", line 160, in <listcomp>
      return [x for x in self]
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase_core/ixmgmt.py", line 144, in __iter_
      self._start()
      File "/Users/manasaghanta/Documents/mobile-test/DailyCode-changes/mobile-testkit/venv/lib/python3.6/site-packages/couchbase_core/_ixmgmt.py", line 132, in _start
      self._cmd, index_to_rawjson(self._index), **self._options)
      couchbase.exceptions.NotSupportedException: <RC=0xD6[LCB_ERR_UNSUPPORTED_OPERATION (214)], Couldn't schedule ixmgmt operation, C Source=(src/ixmgmt.c,106)>

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            manasa.ghanta Manasa Ghanta (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