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

_rewrite handler loops cause cpu load and swap of death

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.1, 1.3
    • HTTP Interface
    • None
    • debian testing

    • Dont Know

    Description

      when creating a simple _rewrite loop, the db will start to eat cpu and take more & more memory

      for testing i created:

      {"_id":"_design/loopa","rewrites":[

      {"from":"","to":"../loopb/_rewrite"}

      ]}
      {"_id":"_design/loopb","rewrites":[

      {"from":"","to":"../loopa/_rewrite"}

      ]}

      accessing $dburi/_design/loopa/_rewrite/ will start the loop

      Attachments

        Activity

          People

            Unassigned Unassigned
            ronny-pfannschmidt Ronny Pfannschmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: