Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2277

Race Condition Inserting Replicas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.4
    • 4.2
    • Archive, GUI
    • None
    • Confident
    • Hide

      Tested by QUICKSTART

      Show
      Tested by QUICKSTART

    Description

      This bug has manifested itself in QUICKSTART, which is ugly. The problem occurs because ReplicaCacheDatabase.initialiseDB() is called from both the ArcRepositoryApplication and the GUIApplication. If both try to insert the same replica into the DB simultaneously then there can be a primary-key violation. The solution is to raise the transaction isolation level for this insert to Repeatable Read.

      Attachments

        Activity

          People

            csr Colin Rosenthal
            csr Colin Rosenthal
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Remaining Estimate - 2h
                1m