CouchDB
  1. CouchDB
  2. COUCHDB-1141

Docs deleted via PUT or POST do not have contents removed.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None
    • Environment:

      All

    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      If a doc is deleted via -X DELETE, the resulting doc contains only id/rev_deleted:true. However, if a doc is deleted via PUT or POST, through adding _deleted:true, the entire contents of the doc remains stored. Even after compaction, the original document contents remain.

      This issue is causing databases with large docs to become bloated over time, as the original doc contents remain in the database even after being deleted.

        Activity

        Wendall Cada created issue -
        Robert Newson made changes -
        Field Original Value New Value
        Fix Version/s 1.2 [ 12315198 ]
        Skill Level Regular Contributors Level (Easy to Medium)
        Robert Newson made changes -
        Assignee Robert Newson [ rnewson ]
        Damien Katz made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Newson [ rnewson ] Damien Katz [ damienkatz ]
        Resolution Not A Problem [ 8 ]
        Robert Newson made changes -
        Assignee Damien Katz [ damienkatz ] Robert Newson [ rnewson ]
        Fix Version/s 1.1.1 [ 12316395 ]
        Robert Newson made changes -
        Resolution Not A Problem [ 8 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Robert Newson made changes -
        Fix Version/s 1.1.1 [ 12316395 ]
        Robert Newson made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 1.2 [ 12315198 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Robert Newson
            Reporter:
            Wendall Cada
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development