BIND 10 #2614: update b10-loadzone using generic DB creation
BIND 10 Development
do-not-reply at isc.org
Mon Jan 21 07:58:31 UTC 2013
#2614: update b10-loadzone using generic DB creation
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: task | Status: new
Priority: medium | Milestone: Next-
Component: loadzone | Sprint-Proposed
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | loadzone-ng
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Description changed by jinmei:
Old description:
> When b10-loadzone tries to load a zone to a data source but the data
> source is not even yet initialized (which means, in the current
> implementation, there is no SQLite3 DB file), it relies on
> `DataSourceClient` internally performs this initialization.
>
> But such initialization should actually be removed from
> `DataSourceClient` (it's provided for compatibility, but was not
> intended to be a part of its responsibility), and its support is
> actually incomplete (see discussions in #2610).
>
> The right solution is to complete #1861, and have b10-loadzone use the
> generic data source initialization module.
>
> Maybe we shouldn't make it automatic though, and rather implement it
> as an option to b10-loadzone.
New description:
When b10-loadzone tries to load a zone to a data source but the data
source is not even yet initialized (which means, in the current
implementation, there is no SQLite3 DB file), it relies on
`DataSourceClient` internally performs this initialization.
But such initialization should actually be removed from
`DataSourceClient` (it's provided for compatibility, but was not
intended to be a part of its responsibility)
~~and its support is actually incomplete (see discussions in #2610).~~
(this part was my misunderstanding).
The right solution is to complete #1861, and have b10-loadzone use the
generic data source initialization module.
Maybe we shouldn't make it automatic though, and rather implement it
as an option to b10-loadzone.
--
--
Ticket URL: <http://bind10.isc.org/ticket/2614#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list