Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-597

Replication tasks crash.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11
    • None
    • Database Core
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      If I kick off 10 replication tasks in quick succession, occasionally one or two of the replication tasks will die and not be resumed. It seems that the stat tracking is a little buggy, and under stress can eventually cause a permanent failure of the supervised replication task;

      [Fri, 11 Dec 2009 19:00:08 GMT] [error] [<0.80.0>] {error_report,<0.30.0>,
      {<0.80.0>,supervisor_report,
      [{supervisor,{local,couch_rep_sup}},

      {errorContext,shutdown_error}

      ,

      {reason,killed}

      ,
      {offender,
      [

      {pid,<0.6700.11>}

      ,

      {name,"fcbb13200a1618cf983b347f4d2c9835+create_target"}

      ,
      {mfa,
      {gen_server,start_link,
      [couch_rep,
      ["fcbb13200a1618cf983b347f4d2c9835",
      {[

      {<<"create_target">>,true}

      ,

      {<<"source">>,<<"http://node:5984/perf-p2">>}

      ,

      {<<"target">>,<<"perf-p2">>}

      ]},

      {user_ctx,null,[<<"_admin">>]}

      ],
      []]}},

      {restart_type,temporary}

      ,

      {shutdown,1}

      ,

      {child_type,worker}

      ]}]}}

      [Fri, 11 Dec 2009 19:00:08 GMT] [error] [emulator] Error in process <0.6705.11> with exit value: {badarg,[{ets,insert,[stats_hit_table,{{couchdb,open_os_files},-1}]},

      {couch_stats_collector,decrement,1}

      ]}

      Attachments

        1. couchdb_597.patch
          6 kB
          Randall Leeds
        2. 597_fixes.patch
          2 kB
          Randall Leeds
        3. 0001-Cleanup-597-fixes.patch
          3 kB
          Randall Leeds
        4. 0001-changes-replication-timeouts-and-att.-fixes-COUCHDB-.patch
          4 kB
          Randall Leeds

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rnewson Robert Newson
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: