Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2066 DocumentStore API: batch create, but no batch update
  3. OAK-3586

ConflictException and CommitQueue should support a list of revisions

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.13, 1.4
    • core, documentmk
    • None
    • Patch

    Description

      The OAK-3559 aims at providing bulk version of the DocumentStore#createOrUpdate(), so the Commit class can apply many changes at the same time. If there's a conflict detected afterwards, it may involve many documents and revisions. That's why the ConflictException needs to be extended, so it can contain a revision list rather than a single revision.

      Once the ConflictException contains revision list, the CommitQueue#suspendUntil() method should be updated as well, to suspend thread until all revisions from the passed collection are visible and all conflicts are resolved.

      Attachments

        1. OAK-3586.patch
          27 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: