BIND 10 trac1165, created. 40cd22fc64c7755efe60cd42cb12851cf3de55a4 [1165] recover the strong exception guarantee in update_config_data() (I first thought it could be deferred, but since the exception can happen just due to incorrect config input, it should be guaranteed from the beginning.)

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 27 06:49:09 UTC 2011


The branch, trac1165 has been created
        at  40cd22fc64c7755efe60cd42cb12851cf3de55a4 (commit)

- Log -----------------------------------------------------------------
commit 40cd22fc64c7755efe60cd42cb12851cf3de55a4
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Sep 26 23:29:01 2011 -0700

    [1165] recover the strong exception guarantee in update_config_data()
    (I first thought it could be deferred, but since the exception can happen
    just due to incorrect config input, it should be guaranteed from the
    beginning.)
    
    Also made sure that both the default ACL and zone config are changed
    atomically under the protection of lock.

commit ed8d686171f140fd12164d2d34f65b4ab3c97645
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Sep 26 23:06:18 2011 -0700

    [1165] a small (not really related to the task though) refactoring:
    simply use the spec default values in initialization of UnixSockServer.
    this way we can avoid redundant initialization.

commit 1e32824c93dac7e406d1b35449b42700bf854679
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Sep 26 16:17:13 2011 -0700

    [1165] catch some exceptions that could be raised due to configuration error
    and log messages for them.  this is necessary to gracefully die due to
    broken config data in b10-config.db at startup time.

commit c5d5522f83888a8b442aa7ff17738f3f688749fe
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Sep 26 15:23:03 2011 -0700

    [1165] add configuration items for zone_config.  query_acl was renamed to
    transfer_acl (for consistency) and is now used as the default transfer ACL.
    related tests were added.  also removed DEFAULT_RRCLASS, and retrieved the
    default RR class from the spec.

commit 219818389cc848dc2d67aff732b9790968851b51
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sat Sep 24 15:40:56 2011 -0700

    [1165] make sure the ACL returned by _get_transfer_alc() so that per zone
    ACL will be used when configured.
    An unrelated change was piggy-backed: the ACL check was moved outside of
    the try-except block.  it doesn't make sense to return FORMERR when an
    exception is raised in the ACL check.
    Also some minor style fixes were made (folding some long lines)

commit e602f86dae29c62619b0ea8bf2ca69e1ce1b8295
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sat Sep 24 12:09:40 2011 -0700

    [1165] added _get_transfer_acl to XfroutSession class to retrieve the
    best matching ACL for the given zone.

commit 57f7044d690d38cff90487b5883883a674d2589f
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Sep 23 20:40:18 2011 -0700

    [1165] refactor the tests for later use: separate ACL related tests
    into a single function and provide capability of specifying the ACL context.

commit 383b6b2891226228ddf3cfd4c3dd8b17ea186b8a
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Sep 23 20:39:35 2011 -0700

    [1165] a small cleanup: use constant instead of dynamically creating default class

commit 8cc8f4c008f640b7f13f8f1160261275ec14475b
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Sep 23 17:40:31 2011 -0700

    [1165] added new configuration data: "zone_config".  While the name is
    generic, the intent is to use it for transfer ACL per zone.  The notion of
    per-zone configuration should eventually be implemented in a more generic
    way (not specific to xfrout).

-----------------------------------------------------------------------




More information about the bind10-changes mailing list