[asterisk-bugs] [JIRA] (ASTERISK-23766) [patch] Specify timeout for database write in SQLite

Igor Goncharovsky (JIRA) noreply at issues.asterisk.org
Tue May 20 22:14:43 CDT 2014


Igor Goncharovsky created ASTERISK-23766:
--------------------------------------------

             Summary: [patch] Specify timeout for database write in SQLite
                 Key: ASTERISK-23766
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23766
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: CDR/cdr_sqlite3_custom, CEL/cel_sqlite3_custom, Core/AstDB, Resources/res_config_sqlite3
    Affects Versions: 12.2.0, 11.9.0, SVN
            Reporter: Igor Goncharovsky
         Attachments: sqlite3_timeout.patch

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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list