Uploaded image for project: 'MyCoRe'
  1. MCR-951

hidden update for delete request

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2014.06.0, 2014.12, 2015.02
    • Fix Version/s: 2015.05.0
    • Component/s: mycore-solr
    • Labels:
      None

      Description

      While all index operations on SOLR are asynchronous, delete are always handled synchronously. This can result in hard to reproduced side effects:

      1. Create a Object A with a Child B
      2. Delete A and it may be still in SOLR index
        Here is why:
      • During the deleteion of A, first B has to be deleted (Index entry for B is deleted).
      • This results in an update for A, as we remove B from the structure. An index update is therefor scheduled for A.
      • After B has been deleted, A can be deleted, too.
      • A is removed from the index.
      • Updated version of A is addded to index.

      We need to process deleted asynchronously to and ensure that no other index operation fired before is pending. Furthermore all future index operations should wait for the delete to be handled.

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              yagee Thomas Scheffler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: