Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1386

Transaction isolation on DB stores is too strict

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.9.0
    • Scheduler
    • None
    • Twitter Aurora Q2'15 Sprint 7
    • 2

    Description

      The transaction isolation used in the scheduler's DB-based storage is too strict. This results in inconsistent data when work in a transaction forks asynchronous work on a different thread, which is implicitly done for messages on the event bus. In cases like TaskThrottler which has some preconditions around expected state, we encounter exceptions related to the ancestor state not yet being shown as terminated as we try to calculate the reschedule delay.

      Attachments

        Issue Links

          Activity

            People

              wfarner Bill Farner
              wfarner Bill Farner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: