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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Feb 24 18:40:03 CST 2014


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

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

    Assignee: Tzafrir Cohen
      Status: Waiting for Feedback  (was: Open)

My last comment was unclear, [^astdb-shutdown-commit-r2.patch] has locking in all the correct places.  It works on my system but since this could be timing dependent I'd like to get confirmation it fixes the issue for you before I post to RB.
                
> 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
>            Assignee: 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