Skip to content

fix: use row lock select statements#906

Open
a1denvalu3 wants to merge 6 commits intomainfrom
fix/select-statements-lock
Open

fix: use row lock select statements#906
a1denvalu3 wants to merge 6 commits intomainfrom
fix/select-statements-lock

Conversation

@a1denvalu3
Copy link
Collaborator

@a1denvalu3 a1denvalu3 commented Feb 25, 2026

Summary

  • Improved database concurrency by using row locks (select statements locks) more heavily for PostgreSQL.

@github-project-automation github-project-automation bot moved this to Backlog in nutshell Feb 25, 2026
@a1denvalu3 a1denvalu3 marked this pull request as draft February 25, 2026 11:18
@a1denvalu3 a1denvalu3 marked this pull request as ready for review February 25, 2026 11:18
@a1denvalu3 a1denvalu3 force-pushed the fix/select-statements-lock branch 2 times, most recently from 4ac735d to 14bd24b Compare February 25, 2026 16:24
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.06%. Comparing base (89564fe) to head (989d0bc).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #906      +/-   ##
==========================================
+ Coverage   61.51%   63.06%   +1.55%     
==========================================
  Files          93       93              
  Lines       11051    11053       +2     
==========================================
+ Hits         6798     6971     +173     
+ Misses       4253     4082     -171     

☔ View full report in Codecov by Sentry.
📢 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.

@a1denvalu3 a1denvalu3 force-pushed the fix/select-statements-lock branch from b565513 to 11d7eac Compare February 25, 2026 22:03
@a1denvalu3 a1denvalu3 changed the title fix: use and parameterize row lock select statements fix: use row lock select statements Feb 26, 2026
@a1denvalu3
Copy link
Collaborator Author

We should also consider removing the lock on proofs_pending when we insert new entries and let the uniqueness constraint do its job.

@a1denvalu3 a1denvalu3 marked this pull request as draft February 27, 2026 19:20
@a1denvalu3 a1denvalu3 marked this pull request as ready for review February 28, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant