Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-708

Conflicting revision bodies are not removed after resolution

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • None

    Description

      Discovered today while investigating CBSE-7971 that, when a conflict is resolved, the "losing" revision still has the kKeepBody flag, which means its body is never removed.

      This has no visible effect, but it consumes disk space. If there have been a lot of conflicts, and/or documents are large, it can be quite noticeable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          jens Jens Alfke added a comment -

          Fixed and out for review.

          I'm also extending the "compact" subcommand of the cblite tool to optionally prune this stuff from existing databases.

          jens Jens Alfke added a comment - Fixed and out for review . I'm also extending the "compact" subcommand of the cblite tool to optionally prune this stuff from existing databases.

          People

            jens Jens Alfke
            jens Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty