CouchDB
  1. CouchDB
  2. COUCHDB-462

track conflict count in db_info (was built-in conflicts view)

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HTTP Interface
    • Labels:
      None
    • Skill Level:
      Committers Level (Medium to Hard)

      Description

      This patch adds a built-in _conflicts view indexed by document ID that looks like

      GET /dbname/_conflicts

      {"rows":[

      {"id":"foo", "rev":"1-1aa8851c9bb2777e11ba56e0bf768649", "conflicts":["1-bdc15320c0850d4ee90ff43d1d298d5d"]}

      ]}

      GET /dbname/_conflicts?deleted=true

      {"rows":[

      {"id":"bar", "rev":"5-dd31186f5aa11ebd47eb664fb342f1b1", "conflicts":["5-a0efbb1990c961a078dc5308d03b7044"], "deleted_conflicts":["3-bdc15320c0850d4ee90ff43d1d298d5d","2-cce334eeeb02d04870e37dac6d33198a"]}

      ,

      {"id":"baz", "rev":"2-eec205a9d413992850a6e32678485900", "deleted":true, "deleted_conflicts":["2-10009b36e28478b213e04e71c1e08beb"]}

      ]}

      As the HTTPd and view layers are a bit outside my specialty I figured I should ask for a Review before Commit.

      1. conflicts_view.diff
        5 kB
        Adam Kocoloski
      2. COUCHDB-462-jan.patch
        6 kB
        Jan Lehnardt
      3. 462-jan-2.patch
        6 kB
        Jan Lehnardt
      4. COUCHDB-462-adam-updated.patch
        15 kB
        Adam Kocoloski
      5. conflicts_in_db_info.diff
        15 kB
        Bob Dionne
      6. conflicts_in_db_info2.diff
        27 kB
        Bob Dionne
      7. whitespace.diff
        7 kB
        Bob Dionne

        Issue Links

          Activity

          Adam Kocoloski created issue -
          Adam Kocoloski made changes -
          Field Original Value New Value
          Attachment conflicts_view.diff [ 12416281 ]
          Jan Lehnardt made changes -
          Attachment COUCHDB-462-jan.patch [ 12416301 ]
          Jan Lehnardt made changes -
          Attachment 462-jan-2.patch [ 12416339 ]
          Adam Kocoloski made changes -
          Attachment COUCHDB-462-adam-updated.patch [ 12416347 ]
          Jan Lehnardt made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Adam Kocoloski made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Adam Kocoloski made changes -
          Summary built-in conflicts view track conflict count in db_info (was built-in conflicts view)
          Adam Kocoloski made changes -
          Link This issue duplicates COUCHDB-296 [ COUCHDB-296 ]
          Adam Kocoloski made changes -
          Fix Version/s 0.11 [ 12313841 ]
          Fix Version/s 0.10 [ 12313694 ]
          Noah Slater made changes -
          Fix Version/s 0.12 [ 12314314 ]
          Fix Version/s 0.11 [ 12313841 ]
          Paul Joseph Davis made changes -
          Skill Level Committers Level (Medium to Hard)
          Jan Lehnardt made changes -
          Fix Version/s 1.2 [ 12315198 ]
          Fix Version/s 0.12 [ 12314314 ]
          Bob Dionne made changes -
          Attachment conflicts_in_db_info.diff [ 12469746 ]
          Bob Dionne made changes -
          Attachment conflicts_in_db_info2.diff [ 12469756 ]
          Attachment whitespace.diff [ 12469757 ]
          Bob Dionne made changes -
          Comment [ that last sentence should read:

          of how couch_key_tree is used might result.....
          ]
          Jan Lehnardt made changes -
          Fix Version/s 1.3 [ 12318350 ]
          Fix Version/s 1.2 [ 12315198 ]
          Joan Touzet made changes -
          Assignee Bob Dionne [ dionne ]
          Jan Lehnardt made changes -
          Fix Version/s 1.3 [ 12318350 ]

            People

            • Assignee:
              Bob Dionne
              Reporter:
              Adam Kocoloski
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development