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

couch_set_view,handle_info,\n [{'DOWN' error when user changes the design_doc during rebalance and runs the view query

    Details

      Description

      steps to reproduce

      start cluster_run -n4

      run mcsodea
      python pytests/performance/mcsoda.py memcached-binary://127.0.0.1:12001 json=1 doc-gen=0 doc-cache=0 max-items=10000

      when the load is running rebalance in a new node and then modify the view during rebalance

      log is also attached

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

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        "error":"{{nocatch,shutdown},\n [

        {couch_set_view,get_group,3}

        ,\n

        {couch_set_view,get_map_view,5}

        ,\n

        {couch_view_merger,prepare_set_view,4}

        ,\n

        {couch_view_merger,map_set_view_folder,5}

        ]}","reason":"

        {gen_server,call,[<0.19415.5>,pop,infinity]}

        "}

        [error_logger:error] [2012-01-11 13:15:26] [n_3@10.17.11.108:error_logger:ale_error_logger_handler:log_report:72]
        =========================SUPERVISOR REPORT=========================
        Supervisor:

        {local,couch_secondary_services}

        Context: child_terminated
        Reason: {function_clause,
        [{couch_set_view,handle_info,
        [{'DOWN',#Ref<0.0.195.244933>,process,<0.492.6>,
        {badmatch,
        {error,
        badmatch,{not_found,no_db_file,
        [

        {couch_db_set,'-init/1-fun-0-',4}

        ,

        {lists,foldl,3}

        ,

        {couch_db_set,init,1}

        ,

        {gen_server,init_it,6}

        ,

        {proc_lib,init_p_do_apply,3}

        ]}}}},
        {server,
        "/space/repo/couchbase-2.0/ns_server/couch/3",

        Show
        farshid Farshid Ghods (Inactive) added a comment - "error":"{{nocatch,shutdown},\n [ {couch_set_view,get_group,3} ,\n {couch_set_view,get_map_view,5} ,\n {couch_view_merger,prepare_set_view,4} ,\n {couch_view_merger,map_set_view_folder,5} ]}","reason":" {gen_server,call,[<0.19415.5>,pop,infinity]} "} [error_logger:error] [2012-01-11 13:15:26] [n_3@10.17.11.108:error_logger:ale_error_logger_handler:log_report:72] =========================SUPERVISOR REPORT========================= Supervisor: {local,couch_secondary_services} Context: child_terminated Reason: {function_clause, [{couch_set_view,handle_info, [{'DOWN',#Ref<0.0.195.244933>,process,<0.492.6>, {badmatch, {error, badmatch,{not_found,no_db_file , [ {couch_db_set,'-init/1-fun-0-',4} , {lists,foldl,3} , {couch_db_set,init,1} , {gen_server,init_it,6} , {proc_lib,init_p_do_apply,3} ]}}}}, {server, "/space/repo/couchbase-2.0/ns_server/couch/3",
        Hide
        filipe manana filipe manana added a comment -

        That seems to be caused by another error that precedes it.
        This other error was corrected in the following commit:

        https://github.com/couchbase/couchdb/commit/75a904c093e89d12bec86f3f46b390a30e6ba27f

        (merged today some hours ago)

        Show
        filipe manana filipe manana added a comment - That seems to be caused by another error that precedes it. This other error was corrected in the following commit: https://github.com/couchbase/couchdb/commit/75a904c093e89d12bec86f3f46b390a30e6ba27f (merged today some hours ago)
        Hide
        steve Steve Yen added a comment -

        Marking this Resolved on behalf of Filipe, based on his last comment.

        Filipe, if that's incorrect, please do reopen. Thanks!

        Show
        steve Steve Yen added a comment - Marking this Resolved on behalf of Filipe, based on his last comment. Filipe, if that's incorrect, please do reopen. Thanks!
        Hide
        filipe manana filipe manana added a comment -

        Steve, correct.
        I just improved the error handling for these cases, to ensure the caller (ns_server) always gets a reply (instead of hanging) and a more helpful error/message like for e.g.:

        {db_open_error,
        <<"default/0">>,

        {not_found,no_db_file},
        <<"Couldn't open database `default/0`, reason: {not_found,no_db_file}

        ">>},

        The gerrit change: http://review.couchbase.org/#change,12600

        Show
        filipe manana filipe manana added a comment - Steve, correct. I just improved the error handling for these cases, to ensure the caller (ns_server) always gets a reply (instead of hanging) and a more helpful error/message like for e.g.: {db_open_error, <<"default/0">>, {not_found,no_db_file}, <<"Couldn't open database `default/0`, reason: {not_found,no_db_file} ">>}, The gerrit change: http://review.couchbase.org/#change,12600

          People

          • Assignee:
            tommie Tommie McAfee
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes