BIND 10 #3059: Create initial UpdateMgr class
BIND 10 Development
do-not-reply at isc.org
Wed Jul 31 11:43:13 UTC 2013
#3059: Create initial UpdateMgr class
-------------------------------------+-------------------------------------
Reporter: tmark | Owner:
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: dhcp-ddns | Sprint-DHCP-20130731
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DHCP | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Description changed by tmark:
Old description:
> Task #6.2 from the task spread sheet. Develop the class structure and
> basic event processing loop as described in the DHCP-DDNS design,
> discussed in the "D2 Event Processing" section.
>
> The initial implementation should assume/support single-threaded
> operation (as excerpted from the design doc):
>
> {{{
> while (!shutdown) {
>
> // Execute all ready callbacks, or wait for one
> if (io_service.poll() || io_service.run_one()) {
>
> // One or more of the following has occurred
> // a. NCR message received and has been queued
> // b. Pending DNS IO has completed
> // c. Interval timer expired
>
> if (QueueMgr->queueNotEmpty()) {
> // Dequeue next pending request
> NCR = QueueMgr->dequeue();
>
> // Start a new transaction for the NCR
> instantiate_transaction(io_service, NCR);
> }
>
> handle_finished_transactions();
>
> } else {
>
> // we are here because there is no more work to do
> // somebody stopped io_service, shutdown request likely
> culprit
>
> }
> }
> }}}
New description:
Task #6.2 from the task spread sheet. Develop the update manager's class
structure and transaction list management services. This includes
integrating with the queue manager as the source of NCR requests. The
transaction list implementation will be stubbed to the extent needed until
!NameChangeTransaction class(es) are implemented.
The event loop has been moved to D2Process itself and its development is
now under a separate ticket 3075.
--
--
Ticket URL: <http://bind10.isc.org/ticket/3059#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list