Skip to content

Conversation

@sawenzel
Copy link
Contributor

TPC digitization currently crashes when multiple workers try to load FEEConfig via TPC/Config/RunInfoV2.

Recently the TPC code was changed to use this redirecting object. The hypothesis is that there is a problem in the CcdbApi when using CCDB redirects which is bypassing semaphore syncronization of CCDB loads. This leads to race conditions and corrupted CCDB snapshots.

This commit reduces such a race condition by pre-downloading TPC/Config/RunInfoV2 before launching multi-process TPC digitization procedures.

We can take the change back once a proper fix is available in O2-CCDB.

TPC digitization currently crashes when multiple workers
try to load FEEConfig via TPC/Config/RunInfoV2.

Recently the TPC code was changed to use this redirecting object.
The hypothesis is that there is a problem in the CcdbApi when using
CCDB redirects which is bypassing semaphore syncronization
of CCDB loads. This leads to race conditions and corrupted CCDB
snapshots.

This commit reduces such a race condition by pre-downloading
TPC/Config/RunInfoV2 before launching multi-process TPC digitization procedures.

We can take the change back once a proper fix is available in O2-CCDB.
@github-actions
Copy link

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@sawenzel sawenzel merged commit 03eb3cc into AliceO2Group:master Feb 27, 2025
6 checks passed
@sawenzel sawenzel deleted the swenzel/avoid_tpc_bug branch March 5, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant