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 "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/11/21 14:54:00 UTC
[jira] [Created] (OAK-6969) Reduce the responsibilities of
CompactCommand in favour of Compact
Francesco Mari created OAK-6969:
-----------------------------------
Summary: 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.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)