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

online upgrade from 2.0.0 to 3.0.0-713 failed due to view engine crashed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0
    • 3.0
    • view-engine
    • Security Level: Public
    • None
    • centos 6.4 64-bit

    Description

      Install couchbase server 2.0.0 on 2 nodes
      1:10.6.2.112
      2:10.6.2.113

      Create cluster 2.0.0 on those 2 nodes
      Create a default bucket
      Create 2 docs with 2 views per doc

      Install couchbase server 3.0.0-713 on 2 nodes
      3:10.3.3.224
      4:10.3.121.241

      Add node 224 and 241 into cluster 2.0.0
      3.0.0 takes over master. Passed
      Rebalance 2 3.0.0-713 into cluster 2.0.0 passed.

      Remove 2 2.0.0 nodes out of cluster.
      Rebalance failed with error

      <0.25709.1> exited with {unexpected_exit,
      {'EXIT',<0.25719.1>,
      {bulk_set_vbucket_state_failed,
      [{'ns_1@10.3.3.224',
      {'EXIT',
      {{{{badmatch,
      {error,
      {{function_clause,
      [{couch_set_view_group,handle_info,
      [

      {'DOWN',#Ref<16546.0.2.80131>, process,<16546.19784.0>,normal}

      ,
      {state,
      {"/opt/couchbase/var/lib/couchbase/data",
      <<"default">>,
      {set_view_group,
      <<48,81,228,148,157,82,198,38,205,
      123,120,1,202,164,198,114>>,
      nil,<<"default">>,
      <<"_design/upgrade-test-view2">>,
      [],
      [{set_view,0,
      <<"function (doc, meta)

      {emit(meta.id, \"emitted_value0\");}

      ">>,
      undefined,
      {mapreduce_view,
      [<<"upgrade-test-view0">>],
      nil,[],[]}},
      {set_view,1,
      <<"function (doc, meta)

      {emit(meta.id, \"emitted_value1\");}

      ">>,
      undefined,
      {mapreduce_view,
      [<<"upgrade-test-view1">>],

      I saw erlang crashed continuously in 3.0 node 224 and 241
      Live cluster available to debug

      Attachments

        1. 10.3.121.241-5212014-1249-diag.zip
          8.32 MB
        2. 10.3.121.241-5222014-1133-diag.zip
          1.93 MB
        3. 10.3.121.241-622014-1245-diag.zip
          1.20 MB
        4. 10.3.121.241-662014-163-diag.zip
          2.74 MB
        5. 10.3.3.224-5212014-1247-diag.zip
          7.11 MB
        6. 10.3.3.224-5222014-1132-diag.zip
          2.30 MB
        7. 10.3.3.224-622014-1244-diag.zip
          1.24 MB
        8. 10.3.3.224-662014-162-diag.zip
          2.04 MB
        9. 10.6.2.112-5212014-1244-diag.zip
          34.75 MB
        10. 10.6.2.112-5222014-1130-diag.zip
          2.17 MB
        11. 10.6.2.112-622014-1243-diag.zip
          705 kB
        12. 10.6.2.112-662014-1559-diag.zip
          3.94 MB
        13. 10.6.2.113-5212014-1246-diag.zip
          36.60 MB
        14. 10.6.2.113-5222014-1131-diag.zip
          2.08 MB
        15. 10.6.2.113-622014-1243-diag.zip
          725 kB
        16. 10.6.2.113-662014-161-diag.zip
          4.58 MB

        Issue Links

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

          Activity

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty