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

oak-run console export should handle exceptions such as missing segments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.8.9, 1.9.10
    • run, store-spi
    • None

    Description

      Problem: When trying to look at data using "pn" or running "export" oak-run console currently will choke and abort the traversal on exceptions such as SegmentNotFoundException.

      Expected: It would be nice if it would be best-effort, log the issue or embed in the exported json, and just continue. This also ensures all missing segments for a subtree are listed with one command (if it fails right now you just see the first missing segment).

      Attachments

        1. OAK-7832.patch
          16 kB
          Alexander Klimetschek
        2. oak-run-1.8.9-SNAPSHOT.jar
          47.55 MB
          Alexander Klimetschek

        Activity

          People

            alexander.klimetschek Alexander Klimetschek
            alexander.klimetschek Alexander Klimetschek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: