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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/12/08 14:24:09 UTC

[jira] [Closed] (OAK-6969) Reduce the responsibilities of CompactCommand in favour of Compact

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

Davide Giannella closed OAK-6969.
---------------------------------

Bulk close 1.7.12

> Reduce the responsibilities of CompactCommand in favour of Compact
> ------------------------------------------------------------------
>
>                 Key: OAK-6969
>                 URL: https://issues.apache.org/jira/browse/OAK-6969
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run, segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: 1.7.12, 1.8
>
>
> The offline compaction tool frontend has responsibilities that should be moved to the backend. In particular, printing progress and error messages, implementing logic based on the input parameters and the environment, and choosing exit status codes should be implemented by the backend.
> While CompactCommand was reasonable when both oak-segment and oak-segment-tar coexisted, the current implementation violates responsibility and makes the tool frontend needlessly complicated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)