Project

General

Profile

Actions

Bug #54437

closed

dbstore: concurrent use of sqlite prepared statements

Added by Casey Bodley about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

several database operations make use of sqlite's prepared statements (sqlite3_stmt), but do not prevent multiple threads from binding parameters and evaluating the statement at the same time

consider allocating several instances of each prepared statement so they can be used in parallel, and fall back to normal queries if all prepared statements are in use

Actions

Also available in: Atom PDF