Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.2
-
Security Level: Public
-
None
-
JAK 109
-
4
Description
In forum post:
https://www.couchbase.com/forums/t/prebuilt-database-copy-not-completing/33144/49
David Shyu states that step #5 in the following sequence produces a "DB is corrupt" exception:
- After all data is synced, use terminal commands to pull cblite2 folders and copy them to external storage so I can access them outside of the app context.
- After a reinstall of our app, the code initializes couchbase
- Sets the DatabaseConfiguration directory to a new directory in external storage
- Calls Database.copy, passing in the location of where I had pulled the cblite2 folders to
- Create new Database using the configuration and then creates indexes.
Repro and either confirm or deny.