Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-1428

Add API for selective bundle consistency check (Jackrabbit-specific)


    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.4, core 1.4.3
    • Component/s: jackrabbit-core
    • Labels:


      Add a jackrabbit-specific API for doing a selective consistencyCheck, ie. on single nodes. The current entire-workspace check can be very slow if there workspace is large enough. Also it should be easy to write a tool to invoke that feature programmatically rather than by configuration + restart (see below).

      Existing Implementation:
      The current bundle consistencyCheck feature is enabled by setting a bundle PM parameter and restarting Jackrabbit, it will then run upon startup (see JCR-972 for the only issue regarding bundle consistency check). This check looks for broken parent-child relationships, ie. it will remove any child node entries that reference non-existing parent nodes. For non-existing parent UUIDs and other problems in bundles it will log those.

      An advanced consistencyCheck could also check for non-existing version nodes and vice-versa (see JCR-630), but this is not the focus of this issue and could be a later addition to the API.

      1. jackrabbit-core.JCR-1428-test-improvement.patch
        1 kB
        Alexander Klimetschek
      2. jackrabbit-core.JCR-1428-print-node-path.patch
        6 kB
        Alexander Klimetschek
      3. jackrabbit-core.JCR-1428-test.patch
        19 kB
        Alexander Klimetschek
      4. jackrabbit-core.JCR-1428.patch
        27 kB
        Alexander Klimetschek


        No work has yet been logged on this issue.


          • Assignee:
            Jukka Zitting
            Alexander Klimetschek
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: