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

Error during rebalance and compaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 4.0.0
    • 4.0.0
    • couchbase-bucket, memcached
    • Security Level: Public
    • 3570

    Description

      1. Install CB Server on 1 node and create bucket:
      http://10.6.2.144:8091/pools/default/buckets with param: bucketType=membase&evictionPolicy=valueOnly&threadsNumber=3&ramQuotaMB=2069&proxyPort=11211&authType=sasl&name=default&flushEnabled=1&replicaNumber=1&replicaIndex=1&saslPassword=None
      2. Add 5 views to the bucket
      3. Change default bucket settings to:
      autoCompactionDefined=true&parallelDBAndViewCompaction=false&ramQuotaMB=2069
      4. Add data for bucket and check for fragmentation %
      5. Run index queries with stale=false
      6. Add another node to the cluster and rebalance
      7. While the rebalance is going on compaction for view is going on.
      Error occurs:
      [2015-07-30 09:03:58,217] - [task:370] INFO - adding node 10.6.2.146:8091 to cluster
      [2015-07-30 09:03:58,218] - [rest_client:948] INFO - adding remote node @10.6.2.146:8091 to this cluster @10.6.2.144:8091
      [2015-07-30 09:04:03,063] - [rest_client:1166] INFO - rebalance params : password=password&ejectedNodes=&user=Administrator&knownNodes=ns_1%4010.6.2.146%2Cns_1%4010.6.2.144
      [2015-07-30 09:04:03,094] - [rest_client:1170] INFO - rebalance operation started
      [2015-07-30 09:04:03,123] - [rest_client:1288] INFO - rebalance percentage : 0.00 %
      [2015-07-30 09:04:04,120] - [task:2878] INFO - ddoc1: stats compaction:revision and fragmentation: (0,93.1456879568)
      [2015-07-30 09:04:04,121] - [task:2883] INFO - design doc ddoc1 is compacting
      [2015-07-30 09:04:07,311] - [rest_client:731] ERROR - http://10.6.2.144:8092/_set_view/default/_design/ddoc1/_info error 500 reason: {function_clause,
      [{lists,zipwith,
      [#Fun<couch_set_view_group.13.66138925>,[],
      [

      {995,741},
      {996,723},
      {997,727},
      {998,757},
      {999,720},
      {1000,766},
      {1001,734},
      {1002,709},
      {1003,730},
      {1004,720},
      {1005,743},
      {1006,726},
      {1007,737},
      {1008,728},
      {1009,725},
      {1010,729},
      {1011,756},
      {1012,733},
      {1013,743},
      {1015,723},
      {1016,736}]],
      [{file,"lists.erl"},{line,436}]},
      {lists,zipwith,3,[{file,"lists.erl"},{line,436}]},
      {lists,zipwith,3,[{file,"lists.erl"},{line,436}]
      },
      {couch_set_view_group,get_group_info,1,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl"},
      {line,1748}]},
      {couch_set_view_group,handle_call,3,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl"},
      {line,730}]},
      {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},
      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]} {"error":"{function_clause,\n [{lists,zipwith,\n [#Fun<couch_set_view_group.13.66138925>,[],\n [{995,741}

      ,\n

      {996,723}

      ,\n

      {997,727}

      ,\n

      {998,757}

      ,\n

      {999,720}

      ,\n

      {1000,766}

      ,\n

      {1001,734}

      ,\n

      {1002,709}

      ,\n

      {1003,730}

      ,\n

      {1004,720}

      ,\n

      {1005,743}

      ,\n

      {1006,726}

      ,\n

      {1007,737}

      ,\n

      {1008,728}

      ,\n

      {1009,725}

      ,\n

      {1010,729}

      ,\n

      {1011,756}

      ,\n

      {1012,733}

      ,\n

      {1013,743}

      ,\n

      {1015,723}

      ,\n

      {1016,736}

      ]],\n [

      {file,\"lists.erl\"},{line,436}]},\n {lists,zipwith,3,[{file,"lists.erl"}

      ,

      {line,436}]},\n {lists,zipwith,3,[{file,\"lists.erl\"},{line,436}

      ]},\n {couch_set_view_group,get_group_info,1,\n [

      {file,\n \"/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl\"},\n {line,1748}]},\n {couch_set_view_group,handle_call,3,\n [{file,n "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl"}

      ,\n

      {line,730}

      ]},\n {gen_server,handle_msg,5,[

      {file,\"gen_server.erl\"}

      ,

      {line,585}

      ]},\n {proc_lib,init_p_do_apply,3,[

      {file,\"proc_lib.erl\"}

      ,

      {line,239}

      ]}]}","reason":"

      {gen_server,call,[<0.30502.6>,request_group_info,infinity]}

      "}
      ERROR
      [('/usr/lib64/python2.6/threading.py', 504, '__bootstrap', 'self.__bootstrap_inner()'), ('/usr/lib64/python2.6/threading.py', 532, '__bootstrap_inner', 'self.run()'), ('lib/tasks/taskmanager.py', 31, 'run', 'task.step(self)'), ('lib/tasks/task.py', 73, 'step', 'self.check(task_manager)'), ('lib/tasks/task.py', 2941, 'check', 'self.set_exception(ex)'), ('lib/tasks/future.py', 264, 'set_exception', 'print traceback.extract_stack()')]
      Thu Jul 30 09:04:07 2015
      [('/usr/lib64/python2.6/threading.py', 504, '__bootstrap', 'self.__bootstrap_inner()'), ('/usr/lib64/python2.6/threading.py', 532, '__bootstrap_inner', 'self.run()'), ('./testrunner.py', 262, 'run', '**self._Thread__kwargs)'), ('/usr/lib64/python2.6/unittest.py', 752, 'run', 'test(result)'), ('/usr/lib64/python2.6/unittest.py', 299, '__call__', 'return self.run(*args, **kwds)'), ('/usr/lib64/python2.6/unittest.py', 278, 'run', 'testMethod()'), ('pytests/rebalance/rebalancein.py', 545, 'rebalance_in_with_ddoc_compaction', 'result = compaction_task.result(self.wait_timeout * 10)'), ('lib/tasks/future.py', 160, 'result', 'return self.__get_result()'), ('lib/tasks/future.py', 111, '__get_result', 'print traceback.extract_stack()')]

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty