Across multiple devices I get the following error when trying to update the database to ForestDB…
21:17:29.203| WARNING: CBLDatabase: No pending attachment for digest sha1-QCNVlhAaGwhfSTzgDMtRR+Ne0KQ=
21:17:29.204| WARNING: Upgrade failed: status 491
Is there a way to fix this?
have you tried this method?
I understand there's no inherent need to migrate from SQLite to Forest. However, our project contains some fairly complex threading code...
What way are you referring to?
I started looking at that issue, and further down you’ll notice a commit that enables doing the upgrade when you set
CBLManager.upgradeStorage. That property has since been removed, and as far as I can tell from the headers if you call:
CBLDatabaseOptions *options = [[CBLDatabaseOptions alloc] init];
options.storageType = kCBLForestDBStorage;
CBLDatabase *database = [manager openDatabaseNamed:named withOptions:options error:&error];
Then it does the upgrade automatically, except it is failing.