You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/06/26 08:45:00 UTC

[jira] [Updated] (OAK-7158) Users shouldn't be able to change the number of retained generations

     [ https://issues.apache.org/jira/browse/OAK-7158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated OAK-7158:
--------------------------------
    Labels:   (was: candidate_oak_1_8)

> Users shouldn't be able to change the number of retained generations
> --------------------------------------------------------------------
>
>                 Key: OAK-7158
>                 URL: https://issues.apache.org/jira/browse/OAK-7158
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>            Priority: Major
>             Fix For: 1.9.0, 1.10.0, 1.8.1
>
>         Attachments: OAK-7158-01.diff, OAK-7158-02.diff, OAK-7158-03.diff
>
>
> Currently, {{SegmentGCOptions}} implements a validation check on the number of retained generations that prevents callers to set it to a value smaller than two. Instead, some subsystems might benefit from having a number of retained generations smaller than two - see OAK-7157 as an example.
> The check performed by {{SegmentGCOptions}} should be moved to {{SegmentNodeStoreService}} to prevent users from setting the number of retained generations to a an invalid value. Internal subsystems should be allowed to set the number of retained generations to a lower value, if needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)