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

Add DB closed recommendation to docs for Database.copy

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 2.7.1
    • .NET
    • Security Level: Public
    • None
    • Jim 95
    • 1

    Description

      As long as a database is open, it is possible that one or more of its files will be in use (this is especially on the Windows platform).  This will cause the copy to fail with a : "Device or resource busy"

      The inline documentation for the Database.copy method should recommend that the source database be closed before a call.

      The Web documentation uses the method in the single case of copying a pre-packaged db.  Pre-packaged DBs are probably never open, so the web doc does not need updating.

      Attachments

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

        Activity

          People

            jimb Jim Borden
            blake.meike Blake Meike
            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