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

Implement better tools for reparing a corrupt repository

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • core, segment-tar

    Description

      In a recent customer case we had the requirement to remove corrupted nodes from a repository (instead of rolling it back via oak-run check and subsequently editing the journal.log. The current ad-hoc way of doing so is via the rmNode Groovy script. Since in that case the corrupted nodes where inside a checkpoint we couldn't use this approach though.

      Going forward we should implement more robust tooling around this use case:

      • Remove corrupt nodes and properties and log their path
      • Copy the repository (head state) to a new repository skipping all corrupt nodes and properties while logging their path.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: