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

couch_set_view_group dies with {badmatch,{error,enoent}} reason

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-developer-preview-4
    • Fix Version/s: 2.0-developer-preview-4
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      From time to time couch_set_view_group dies with error:

      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_set_view_group:init/1
      pid: <0.2771.0>
      registered_name: []
      exception exit: badmatch,{error,enoent,
      [

      {couch_db,fast_reads,2}

      ,

      {couch_set_view_updater,'-load_changes/6-fun-2-',6}

      ,

      {lists,foldl,3}

      ,

      {couch_set_view_updater,load_changes,6}

      ,

      {couch_set_view_updater,update,6}

      ]}
      in function couch_set_view_group:init/1
      ancestors: [<0.2760.0>,<0.2759.0>]
      messages: [{updater_info,<0.7668.0>,{state,updating_passive}},

      {'EXIT',<0.2780.0>,normal}

      ]
      links: [<0.2760.0>]
      dictionary: [{random_seed,{23671,3853,29824}}]
      trap_exit: true
      status: running
      heap_size: 6765
      stack_size: 24
      reductions: 128385
      neighbours:

      When this happens views return partial results with connection_closed error for the failed node. Attached the log for such a failure.

      1. log.bz2
        2.04 MB
        Aliaksey Artamonau
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        damien damien added a comment -
        Show
        damien damien added a comment - Fix checked into gerrit http://review.couchbase.org/#change,12753
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-couchdb-preview #309 (See http://qa.hq.northscale.net/job/github-couchdb-preview/309/)
        Revert to slow reads when old storage file deleted. MB-4704

        damien :
        Files :

        • src/couchdb/couch_db.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-couchdb-preview #309 (See http://qa.hq.northscale.net/job/github-couchdb-preview/309/ ) Revert to slow reads when old storage file deleted. MB-4704 damien : Files : src/couchdb/couch_db.erl
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        ran into a simiar issue while stopping and restart rebalance few times while running views with reduce

        diags attached.

        please close the bug if what you see in the diag is a different bug

        Show
        farshid Farshid Ghods (Inactive) added a comment - ran into a simiar issue while stopping and restart rebalance few times while running views with reduce diags attached. please close the bug if what you see in the diag is a different bug
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Aliaksey just told me i had to clean the install folder before runnign cluster_run.

        i might not have picked up Filipe fix.

        Show
        farshid Farshid Ghods (Inactive) added a comment - Aliaksey just told me i had to clean the install folder before runnign cluster_run. i might not have picked up Filipe fix.

          People

          • Assignee:
            damien damien
            Reporter:
            Aliaksey Artamonau Aliaksey Artamonau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes