Skip to content
Snippets Groups Projects

IncidentSvc: fix ever-growing incident map

Merged Frank Winklmeier requested to merge fwinkl/Gaudi:incidentsvc into master
All threads resolved!

The map used for the storage of the asynchronous incidents was never cleared during the job and each new EventContext added a new entry into the map that only got cleared during finalize() (see !758 (merged)). Change the storage to be slot-specific and clear the list of incidents when the event changes for a given slot. Thanks to @rbielski for reporting this as part of https://its.cern.ch/jira/browse/ATR-22070.

In addition a few unrelated cleanups (in a separate commit):

  • Make IncidentProcAlg a re-entrant algorithm.
  • Fix AsyncIncidents example job options.
  • Minor code cleanups in incident handling.
Edited by Frank Winklmeier

Merge request reports

Pipeline #2264419 passed

Pipeline passed for faba70fc on fwinkl:incidentsvc

Merged by Marco ClemencicMarco Clemencic 4 years ago (Jan 27, 2021 2:25pm UTC)

Loading

Pipeline #2264544 passed

Pipeline passed for 66b9e966 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Frank Winklmeier added 7 commits

    added 7 commits

    Compare with previous version

  • Marco Clemencic approved this merge request

    approved this merge request

  • Marco Clemencic resolved all threads

    resolved all threads

  • Marco Clemencic enabled an automatic merge when the pipeline for faba70fc succeeds

    enabled an automatic merge when the pipeline for faba70fc succeeds

  • Marco Clemencic mentioned in commit 66b9e966

    mentioned in commit 66b9e966

  • Rosen Matev mentioned in merge request !1238 (merged)

    mentioned in merge request !1238 (merged)

  • Rosen Matev mentioned in commit 3a3283f6

    mentioned in commit 3a3283f6

  • Please register or sign in to reply
    Loading