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

BIND 10 Development do-not-reply at isc.org
Tue Sep 7 22:21:55 UTC 2010


#326: Race condition in first startup (when database file does not exist)
--------------------------+-------------------------------------------------
  Reporter:  jelte        |            Owner:                      
      Type:  defect       |           Status:  new                 
  Priority:  major        |        Milestone:  y2 6 month milestone
 Component:  data source  |         Keywords:                      
 Sensitive:  0            |   Estimatedhours:  0                   
     Hours:  0            |         Billable:  1                   
Totalhours:  0            |         Internal:  0                   
--------------------------+-------------------------------------------------
 When I start up bind10 for the first time (or after I have removed
 zones.sqlite3), xfrout almost always throws an error. This seems to be
 because the database isn't fully initialized yet when a second module that
 uses it.

 The error differs; it is one of the following, depending on how far the
 first module that creates it has gotten:

 isc.datasrc.sqlite3_ds.Sqlite3DSError: Bad database schema version
 sqlite3.OperationalError: no such table: zones
 sqlite3.OperationalError: table schema_version already exists

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


More information about the bind10-tickets mailing list