Skip to content

[bugfix] Fix possible DB deadlock when creating indexes - #3714

Merged
vkarak merged 1 commit into
reframe-hpc:masterfrom
vkarak:bugfix/db-deadlock
Aug 25, 2026
Merged

[bugfix] Fix possible DB deadlock when creating indexes#3714
vkarak merged 1 commit into
reframe-hpc:masterfrom
vkarak:bugfix/db-deadlock

Conversation

@vkarak

@vkarak vkarak commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

When creating the DB indexes upon every DB file connection, ReFrame did not acquire the write lock as it ought to. This could lead to deadlocks in cases of contentions.

This was introduced in #3546.

Signed-off-by: Vasileios Karakasis <vkarakasis@nvidia.com>
@vkarak vkarak added this to the ReFrame 4.10.3 milestone Aug 25, 2026
@vkarak
vkarak requested review from ekouts and victorusu August 25, 2026 17:38
@vkarak vkarak self-assigned this Aug 25, 2026
@vkarak vkarak added the reporting Issues related to reporting and processing the test results label Aug 25, 2026
@vkarak vkarak changed the title [bugfix] Fix DB deadlock when creating indexes [bugfix] Fix possible DB deadlock when creating indexes Aug 25, 2026
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.91%. Comparing base (27b6926) to head (43db763).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3714   +/-   ##
=======================================
  Coverage   91.91%   91.91%           
=======================================
  Files          62       62           
  Lines       13783    13783           
=======================================
  Hits        12668    12668           
  Misses       1115     1115           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@victorusu victorusu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in ReFrame Backlog Aug 25, 2026
@vkarak
vkarak merged commit f0df59f into reframe-hpc:master Aug 25, 2026
51 of 58 checks passed
@vkarak
vkarak deleted the bugfix/db-deadlock branch August 25, 2026 22:25
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ReFrame Backlog Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix prio: normal reporting Issues related to reporting and processing the test results

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants