Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3347

Race condition in creating task meta data on import

    XMLWordPrintable

Details

    • Critical
    • When there is a longer time gap between steps in the import it may happen that the import crashes due race-conditions in saving the task meta table.

    Description

      problem

      With the pricing preset the task meta data is saved on displaying the tasks in the UI.

      On some imports (with a time gap between task creation and task upload handling) it happens that:

      1. task creation
      2. some one loads the tasks in the UI (inkl. the new task) → here the pricing preset feature makes a task meta save
      3. now the task upload and import is processed, now task meta is initialized new instead loaded from the disk: this leads to a duplicate key crash on saving it

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Stephan Bergmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: