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

couch_db_updater calls couch_key_tree incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.3, 1.1, 1.2
    • Database Core
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      couch_db_updater at line 123 calls couch_key_tree:map_leafs( fun(RevInfo) -..... incorrectly. The function needs to have two arguments.

      This is readily seen by creating two small dbs with a doc in each having the same id, replicating one to the other and then calling
      _purge

      Attachments

        1. couchdb_1065.patch
          2 kB
          Randall Leeds
        2. couchdb_1065_v2.patch
          2 kB
          Randall Leeds

        Activity

          People

            Unassigned Unassigned
            dionne Bob Dionne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: