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

Build index query led to error "Bucket in recovery error"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • Centos
    • Untriaged
    • Yes

    Description

      Run: http://qa.sc.couchbase.com/job/cen006-2i-vset00-05-big-data-sets/39/consoleFull

      Build index command failed with "BuildIndexes - cause: Bucket bucket0 In Recovery"

      [2015-07-02 11:38:02,944] - [base_2i:95] INFO - BUILD INDEX on bucket0(big_data_f34262c201214a5ebdc4787437441946age,big_data_f34262c201214a5ebdc4787437441946name) USING GSI
      [2015-07-02 11:38:03,945] - [tuq_helper:72] INFO - RUN QUERY BUILD INDEX on bucket0(big_data_f34262c201214a5ebdc4787437441946age,big_data_f34262c201214a5ebdc4787437441946name) USING GSI
      [2015-07-02 11:38:03,955] - [rest_client:2237] INFO - query params : statement=BUILD+INDEX+on+bucket0%28big_data_f34262c201214a5ebdc4787437441946age%2Cbig_data_f34262c201214a5ebdc4787437441946name%29+USING+GSI
      [2015-07-02 11:38:11,943] - [task:2186] ERROR - Unexpected Exception Caught
      [('/usr/lib/python2.7/threading.py', 524, '_bootstrap', 'self._bootstrap_inner()'), ('/usr/lib/python2.7/threading.py'[('/usr/lib/python2.7/threading.py', 524, '__bootstrap', 'self.__bootstrap_in, ner()'), ('/usr/lib/pyt551, '__bootstrap_inner', 'self.run()'), ('lib/tasks/taskmanager.py', 31, 'run', 'task.step(self)'), ('lib/tasks/task.py', 71h, 'step', 'oself.execute(tn2.7/threading.py'as, k_manage551, '__bootstrap_inner', 'self.run()'), ('./testrunner.py', 262, 'run', '**self._Thread__kwargs)'), ('/usr/lib/python2.7/unittest/runner.py', 151, 'run', 'test(result)'), ('/usr/lib/python2.7/unittest/case.py', 391, '__call__', 'return self.run(*args, **kwds)'r))', )('/u, s(r/li'blib/tasks/t/apsk.py', y2187, 'execute', 'self.set_exception(e)'), ('lib/tasks/future.py', 264, 'set_exception', 'print traceback.extract_stack()')]thon2.7/unittest/case.py'
      Thu Jul 2 11:38:11 2015
      , 327, 'run', 'testMethod()'), ('pytests/2i/indexscans_2i.py', 45, 'test_multi_create_query_explain_drop_index', 'self.create_index_in_async()'), ('pytests/2i/base_2i.py', 699, '_create_index_in_async', 'build_index_task.result()'), ('lib/tasks/future.py', 160, 'result', 'return self.get_result()'), ('lib/tasks/future.py', 111, '_get_result', 'print traceback.extract_stack()')]
      [2015-07-02 11:38:11,945] - [indexscans_2i:52] INFO - CBQError: host 172.23.107.210: ERROR:{u'status': u'errors', u'errors': [

      {u'msg': u'BuildIndexes - cause: Bucket bucket0 In Recovery', u'code': 5000}

      ], u'results': [], u'metrics':

      {u'elapsedTime': u'7.98182725s', u'executionTime': u'7.981623276s', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}

      , u'requestID': u'43e1f322-6fc1-4200-b09b-e800adf8e577', u'signature': None}
      [2015-07-02 11:38:11,948] - [tuq_helper:72] INFO - RUN QUERY SELECT * FROM system:indexes
      [2015-07-02 11:38:11,959] - [rest_client:2237] INFO - query params : statement=SELECT+%2A+FROM+system%3Aindexes

      In the index tab, the UI shows a warning - Warning: We are having troubles communicating to the indexer process. The information might be stale.

      Logs:
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/Centos_Set2_BigData_Run39/Centos_Set2_BigData_Run39_TestLog
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/Centos_Set2_BigData_Run39/collectinfo-2015-07-03T071948-ns_1%40172.23.107.210.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/Centos_Set2_BigData_Run39/collectinfo-2015-07-03T071948-ns_1%40172.23.107.211.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/Centos_Set2_BigData_Run39/collectinfo-2015-07-03T071948-ns_1%40172.23.107.212.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/Centos_Set2_BigData_Run39/collectinfo-2015-07-03T071948-ns_1%40172.23.107.213.zip

      Attachments

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

        Activity

          People

            sarath Sarath Lakshman
            prathibha Prathibha Bisarahalli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty