BIND 10 trac2204, created. 86a4bae1ffa68eb38921d6cb3f16dad43b616009 [2204] cleanup: removed unused func, and renamed "ClientList" with "DataSrc".

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Oct 6 00:07:04 UTC 2012


The branch, trac2204 has been created
        at  86a4bae1ffa68eb38921d6cb3f16dad43b616009 (commit)

- Log -----------------------------------------------------------------
commit 86a4bae1ffa68eb38921d6cb3f16dad43b616009
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 17:04:28 2012 -0700

    [2204] cleanup: removed unused func, and renamed "ClientList" with "DataSrc".
    
    getClientListClasses() was removed.  It's not used anymore.
    a few methods named with "ClientList" were renamed with adding "DataSrc".
    The resulting names are a bit long, but since there's no namespace
    qualification, simply saying "client" can be confusing (it could be
    interpreted to mean DNS clients, for example).

commit 0b6e74f544b522943436bfdff79c2fa06273b49d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 16:52:37 2012 -0700

    [2204] regression fix: make sure the datasrc config is installed to server.

commit d7846ea4a9d811c35641f77384d9825f12488e71
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 16:48:03 2012 -0700

    [2204] removed server function/template param from configureDataSourceGeneric.
    
    This is pure cleanup.  This function already doesn't use the server.

commit 5d61dba1dc3e51d66ba40d82b1bc378577783dc0
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 16:40:10 2012 -0700

    [2204] extracted swapDataSrcClientLists() from configureDataSource().
    
    now configureDataSource() can take time.

commit c286e0dec766c3d9b2fff6a8bd55539ec976aae9
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 16:02:01 2012 -0700

    [2204] completely replaced setClientList with swapDataSrcClientLists.
    
    the test cases using setClientList were updated so they use
    swapDataSrcClientLists (some of them work as a test for the "swap" itself).
    now we don't need setClientList, so it was removed.

commit d664fca786643e2345d9722da6d8fd35996bbea1
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 15:15:18 2012 -0700

    [2204] simplify configureDataSource by always creating a new lists and swap.
    
    so we don't have to worry about what are in the current lists or rollback
    operations.
    swapDataSrcClientLists() is newly introduced for AuthSrv.  No direc tests
    yet (technically bad in terms TDD but the definition is very simple), which
    will be provided in the next step.
    the lock is now moved inside swapDataSrcClientLists().
    
    note: even though this version builds everything, the amount of work
    should be mostly the same because the only save is to create the empty
    ClientList when the new and old have the same class of client.  The expensive
    part is ClientList::configure().  This version doesn't need any more call
    to configure() than the old version.

commit a0a5e207d4a05738f278df6124172f415a43d4ad
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 14:03:52 2012 -0700

    [2204] changed internal representation of auth_srv's "client_lists_" to ptrs.
    
    this will be necessary later in this branch.
    also renamed the member variable "datasrc_client_lists_" as the mere "client"
    can be ambiguous.

commit b160122e462422d82fd122839f9fff1e861aa21d
Merge: 93e596c 44d9dfa
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Oct 5 13:13:19 2012 -0700

    [2204] Merge branch 'trac2203' into trac2204

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



More information about the bind10-changes mailing list