Add DB closed recommendation to docs for Database.copy

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.

Activity

Show:

CB robot December 14, 2022 at 4:01 PM

Build couchbase-lite-net-3.1.0-146 contains couchbase-lite-net commit 72165cd with commit message:
: Add recommendation to close source DB before using Database.Copy

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 10, 2022 at 6:44 PM
Updated March 21, 2023 at 5:58 PM
Resolved March 21, 2023 at 5:58 PM
Instabug