[Home]

Summary:ASTERISK-23766: [patch] Specify timeout for database write in SQLite
Reporter:Igor Goncharovsky (igorg)Labels:
Date Opened:2014-05-20 22:13:37Date Closed:2014-06-16 03:53:26
Priority:MajorRegression?No
Status:Closed/CompleteComponents:CDR/cdr_sqlite3_custom CEL/cel_sqlite3_custom Core/AstDB Resources/res_config_sqlite3
Versions:SVN 11.9.0 12.2.0 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Attachments:( 0) sqlite3_timeout_v2.patch
( 1) sqlite3_timeout.patch
Description:We have faced situation when using CDR and CEL by sqlite3 modules. With system having high load (~100 concurrent calls created by sipp) we found many cdr and cel records missed. There is special finction in sqlite3, that make able to fix this situation - sqlite3_wait_timeout, that also can replace awful code cdr_sqlite3 ad cel_sqlite3 modules. Also this function can be used for aastdb and res_config_sqlite3 to avoid missed writes to sqlite db.
Comments:By: Rusty Newton (rnewton) 2014-05-22 06:57:33.104-0500

Thanks Igor. Probably want to get this up on Reviewboard to get some reviews: https://wiki.asterisk.org/wiki/display/AST/Code+Review



By: Igor Goncharovsky (igorg) 2014-06-09 23:24:34.779-0500

Rusty, I have some problem with updating review request. Can we solve it, or get patch commited now?