Description
The new --missingblobstore option should be enabled by default for all supported cases. It should be only disabled if user specifies --copy-binaries (meaning they're not interested in copying blobs by references) and/or the blob store manually (eg. using --src-datastore).
Desired outcome should be as follows:
For sidegrade:
src blobstore defined | src blobs embedded | dst blobstore defined | --copy-binaries | outcome src blobstore | outcome action |
---|---|---|---|---|---|
- | - | - | - | missing | copy references1 |
- | - | - | missing | not supported | |
- | - | * | missing | not supported | |
- | - | * | embedded | copy to embedded | |
- | * | embedded | copy to defined blobstore | ||
* | - | - | as in src | copy references | |
* | - | as in src | copy to embedded | ||
* | * | as in src | copy to defined blobstore |
1 - not supported for SegmentMK -> MongoMK migration
For upgrade:
dst blobstore defined | --copy-binaries | outcome src blobstore | outcome action |
---|---|---|---|
- | - | defined by JCR2 | copy references |
- | defined by JCR2 | copy to embedded | |
* | defined by JCR2 | copy to defined blobstore |