Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35846

The ability to create backups using the ForestDB storage format should be removed



    • Improvement
    • Resolution: Done
    • Major
    • 6.6.0
    • 6.6.0
    • tools


      ForestDB has been marked as depreciated for a while now and will no longer be supported by cbbackupmgr. For this reason (and several others) collection aware backup restore will only be supported for SQLite. We do however, still need to retain the ability to read from (and therefore merge) users existing backups which use the ForestDB format.

      How will we achieve this change?

      The storage format we use must conform to the 'BackupFile' interface; this constricts us to having only read write storage formats, therefore, the 'BackupFile' interface will be replaced with the 'BackupFileReader' and 'BackupFileWriter' interfaces. This will then mean a large portion of the ForestDB codebase can be stripped away.

      What  are the benefits of this change?

      1) We no longer have to support two different backup storage formats (collection aware/unaware).

      2) When it comes to writing stats (on 'DataBackup' Close) we can do so in a collection aware fashion without having to support writing collection unaware stats files (we should still be able to read them for backwards compatible use of the info/list commands).

      What are the consequences of this change?

      1) Users will no longer be able to force the creation of ForestDB backups using the hidden 'storage' flag.



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



            james.lee James Lee
            james.lee James Lee
            0 Vote for this issue
            1 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes