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

Wrong data sent to t5memory and sometimes re-import of failed tasks did not work

XMLWordPrintable

    • Critical
    • Added migration script for fixing broken segments in t5memory

      The problem:
      For some segments containing comma t5 sent wrong data to the t5memory due to bug in task snapshot and further reimport snapshot to t5memory during reimport process.
      Also some tasks were not reimported to t5memory properly due to unknown reason (most probable - t5memory crashed during reimport)

      The solution:
      Fix Reimport.
      Create a migration for fixing broken data in t5memory and to reimport failed tasks again
      Workflow of the migration:

      • clean broken data from t5memory - all broken segments have date in author field, so can be identified by '2024' or '2025' and source or target of such segments contain a '\' symbol
      • reimport tasks that were finished after the bug was released - basically after 2025-01-07T00:00:00
      • additionally reimport all tasks that have eventCode = 'E1169' and message "The task is in use and cannot be reimported into the associated language resources."
      • after reimport lower the log level of the messages to info, so that it does not appear in the warning icons of the project overview anymore, because the problem was solved.

            leonkiz Leon Kiz
            leonkiz Leon Kiz
            Sanya Mikhliaiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: