[
https://issues.apache.org/jira/browse/OAK-7561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomek Rękawek updated OAK-7561:
-------------------------------
Description:
As a a part of the empty repository initialization from the segmentstore seed,
all the checkpoints are being copied. The checkpoints are required for the
indexing to work. However, for the properly closed repository, the indexing
checkpoints should match the most recent state of the repository. Therefore we
don't have to migrate the checkpoints at all - let's only migrate the most
recent root and mark it as "async" and "fulltext-async" checkpoints.
was:
As a a part of the empty repository initialization from the segmentstore seed,
all the checkpoints are being copied. The checkpoints are required for the
indexing to work. However, the checkpoints for the read-only part of the
repository aren't really used, as this part is not being indexed at all in the
instance runtime (since it's not being modified). Therefore we don't have to
migrate the checkpoints - let's only migrate the most recent root and mark it
as a indexing checkpoint.
> Don't migrate the checkpoints in oak-store-composite seed initialization
> ------------------------------------------------------------------------
>
> Key: OAK-7561
> URL: https://issues.apache.org/jira/browse/OAK-7561
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: composite
> Reporter: Tomek Rękawek
> Priority: Major
> Fix For: 1.10, 1.9.5
>
>
> As a a part of the empty repository initialization from the segmentstore
> seed, all the checkpoints are being copied. The checkpoints are required for
> the indexing to work. However, for the properly closed repository, the
> indexing checkpoints should match the most recent state of the repository.
> Therefore we don't have to migrate the checkpoints at all - let's only
> migrate the most recent root and mark it as "async" and "fulltext-async"
> checkpoints.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)