Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6969

Reduce the responsibilities of CompactCommand in favour of Compact

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.12, 1.8.0
    • run, segment-tar
    • None

    Description

      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.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: