BIND 10 #326: Race condition in first startup (when database file does not exist)

BIND 10 Development do-not-reply at isc.org
Thu May 26 13:16:11 UTC 2011


#326: Race condition in first startup (when database file does not exist)
-------------------------------------+-------------------------------------
                   Reporter:  jelte  |                 Owner:
                       Type:         |                Status:  reopened
  defect                             |             Milestone:
                   Priority:  major  |            Resolution:
                  Component:  data   |             Sensitive:  0
  source                             |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0.0
            Defect Severity:         |           Total Hours:  0
  Medium                             |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by shane):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Jeremy added more information, in what I think is a duplicate ticket,
 #630:

 I think this may be caused by having multiple bind10's running at same
 time. Need to research how this happens:

 {{{
 Traceback (most recent call last):
   File
 "/home/jreed/tmp/bind10-devel-20110224/src/lib/python/isc/datasrc/sqlite3_ds.py",
 line 81, in open
     cur.execute("SELECT version FROM schema_version")
 sqlite3.OperationalError: no such table: schema_version
 }}}

 and in xfrout:
 {{{
   File
 "/home/jreed/tmp/bind10-devel-20110224/src/lib/python/isc/datasrc/sqlite3_ds.py",
 line 36, in create
     cur.execute("CREATE TABLE schema_version (version INTEGER NOT NULL)")
 sqlite3.OperationalError: table schema_version already exists

 }}}

-- 
Ticket URL: <https://bind10.isc.org/ticket/326#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list