[asterisk-bugs] [JIRA] (ASTERISK-23111) astdb entries added just before shutdown are not saved

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Jan 16 02:45:02 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-23111:
-------------------------------------

    Attachment: astdb-shutdown-commit-r2.patch

First patch incorrectly unlocked dblock before the final ast_db_commit_transaction.
                
> astdb entries added just before shutdown are not saved
> ------------------------------------------------------
>
>                 Key: ASTERISK-23111
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23111
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/AstDB
>    Affects Versions: SVN, 11.2.0, 11.7.0
>            Reporter: Tzafrir Cohen
>            Severity: Minor
>         Attachments: astdb-shutdown-commit-r2.patch, test_ast_add_exit.sh
>
>
> If I add a large number of entries to astdb and then stop asterisk, all or most of the entries will not be saved into the sqlite database on disk.
> Attached a script that demonstrates the issue. Use the option 'clean' to delete the entries. Unrem the line with 'sleep 5' to work around the issue.
> Tested currently on branch 11: both 11.7.0 and SVN (branch 11 rev. 404888  - before and after recent astdb fix and trunk rev. 371521) as well as with 11.2.0 and 10.12.1 .
> Attached a script that tests the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list