Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-899

Do not process chunks when the DI job is stopped

    XMLWordPrintable

Details

    • Folijet Sprint 159
    • 5
    • Folijet
    • Orchid (R1 2023)

    Description

      Currently, when a user cancels job DI continues to process chunks related to this job.
      In RawMarcChunksKafkaHandler and StoredRecordChunksKafkaHandler get jobExecutionId from Kafka headers, check JobExecution status, if canceled or deleted (empty result) - skip processing of the chunk (DI_ERROR messages NOT needed) without deserializing (unpacking) the chunks.

      Check impact on job progress tracking - add same logic in DataImportKafkaHandler (DI_COMPLETE and DI_ERROR messages). Check behavior of FlowControl, create separate task to resolve any issues.

      This method will increase the performance of the DI and reduce the load on the CPU.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Kyrylo Shulzhenko Kyrylo Shulzhenko
                afedasiuk Aliaksandr Fedasiuk
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases