Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-11361

[CBM] Clarify that merge on rift files will not deduplicate documents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Trinity
    • None
    • tools
    • None
    • 0

    Description

      What is the problem?
      Our documentation for the merge command currently says:

      Merging data will deduplicate similar keys in backup files being merged together in order to create a single smaller backup file

      Although this was true for the ForestDB and SQLite backup formats, it is not true for Rift. This is because the Rift data file is append-only, so when we "replay" the documents from each backup they are just inserted at the end. It wasn't true for SQLite because the document was stored in the index and each document had only a single row in the index.

      What is the solution?
      We should make this clear. Note that some space will be saved as there is an overhead for each backup, but this will likely be negligible.

      Attachments

        Issue Links

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

          Activity

            People

              Matt.Hall Matt Hall
              Matt.Hall Matt Hall
              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