Marcel Reutegger commented on OAK-4552:

To add some more details on why OAK-4826 is important: with this issue present 
in a system, the revision GC will perform cleanup data even though there is an 
orphaned async index update checkpoint. If this issue is fixed, the revision GC 
may suddenly refuse to cleanup data when there are orphaned checkpoints.

> Checkpoints.getOldestRevisionToKeep() returns newest valid revision
> -------------------------------------------------------------------
>                 Key: OAK-4552
>                 URL: https://issues.apache.org/jira/browse/OAK-4552
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, documentmk
>    Affects Versions: 1.0, 1.2, 1.4
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>              Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6, 1.5.6
> The implementation returns a checkpoint based on the expiryTime. Instead it 
> should only rely on the revision (-vector) of the checkpoint to find the 
> oldest valid checkpoint.

This message was sent by Atlassian JIRA

Reply via email to