]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Fri, 5 Oct 2012 05:19:27 +0000 (22:19 -0700)]
[2244] rename Componet.running() is_running() for consistency.
this branch introduced is_failed() (and failed() was already defined for
a different a purpose), so for consistency it would be better to name
the running version is_xxx too.
JINMEI Tatuya [Fri, 5 Oct 2012 05:11:45 +0000 (22:11 -0700)]
[2244] cleanup: reordered log message file
JINMEI Tatuya [Fri, 5 Oct 2012 05:10:40 +0000 (22:10 -0700)]
[2244] make sure restarting components only when they are in config.
this should fix the main problem of this ticket.
JINMEI Tatuya [Fri, 5 Oct 2012 04:08:55 +0000 (21:08 -0700)]
[2244] a minor editorial fix to the previous comment update
JINMEI Tatuya [Fri, 5 Oct 2012 03:53:37 +0000 (20:53 -0700)]
[2244] added comment about has_comonent as it may not be very obvious.
JINMEI Tatuya [Fri, 5 Oct 2012 00:55:57 +0000 (17:55 -0700)]
[2244] added a simple has_component() method to configurtor.
should be pretty trivial, so added a couple of test cases as part of
other tests.
JINMEI Tatuya [Fri, 5 Oct 2012 00:38:43 +0000 (17:38 -0700)]
[2244] make sure configurtor's build_plan() handles 'failed' component.
this fixes the test case introduced at the beginning of the branch.
JINMEI Tatuya [Fri, 5 Oct 2012 00:37:09 +0000 (17:37 -0700)]
[2244] introduced a new "Failed" state of Component.
JINMEI Tatuya [Fri, 5 Oct 2012 00:27:15 +0000 (17:27 -0700)]
[2244] added a test case that reproduces one aspect of the problem.
the configurator should be able to delete a component to be removed
even if the it's failing (unexpectedly). The current implementation
doesn't handle that condition correctly.
JINMEI Tatuya [Thu, 4 Oct 2012 21:33:56 +0000 (14:33 -0700)]
[master] Merge branch 'trac2284'
JINMEI Tatuya [Thu, 4 Oct 2012 21:30:31 +0000 (14:30 -0700)]
[2284] minor comment update about in-memory finder context's getFinder().
with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283,
instead of #2284.
Mukund Sivaraman [Thu, 4 Oct 2012 19:21:29 +0000 (00:51 +0530)]
[2268] Remove the RdataSet sorting code
It was discussed on Jabber and we decided to defer it.
Mukund Sivaraman [Thu, 4 Oct 2012 19:04:12 +0000 (00:34 +0530)]
[2268] Just remove obsolete comment
Mukund Sivaraman [Thu, 4 Oct 2012 19:02:30 +0000 (00:32 +0530)]
[2268] Rename method to addToZoneData()
Mukund Sivaraman [Thu, 4 Oct 2012 18:58:18 +0000 (00:28 +0530)]
[2268] Move LoadCallback typedef to an internal namespace
Mukund Sivaraman [Thu, 4 Oct 2012 18:46:58 +0000 (00:16 +0530)]
[2268] Move Loader to live under ZoneDataUpdater
Mukund Sivaraman [Thu, 4 Oct 2012 18:22:29 +0000 (23:52 +0530)]
[2268] Update comment about unnamed namespace
Mukund Sivaraman [Thu, 4 Oct 2012 17:59:10 +0000 (23:29 +0530)]
[2268] Use a single NSEC3Hash instance inside ZoneDataUpdater
Jelte Jansen [Thu, 4 Oct 2012 13:57:43 +0000 (15:57 +0200)]
[2275] valgrind fixes: uninitialized memory
Tomek Mrugalski [Thu, 4 Oct 2012 12:43:43 +0000 (14:43 +0200)]
[2237] Support for Subnet4 implemented.
Jelte Jansen [Thu, 4 Oct 2012 10:21:04 +0000 (12:21 +0200)]
[2275] valgrind fixes: uninitialized memory
Jelte Jansen [Thu, 4 Oct 2012 09:44:46 +0000 (11:44 +0200)]
[2275] use const char* for test globals
Mukund Sivaraman [Thu, 4 Oct 2012 08:13:53 +0000 (13:43 +0530)]
Merge branch 'master' into trac2206
Mukund Sivaraman [Thu, 4 Oct 2012 07:45:37 +0000 (13:15 +0530)]
[2268] Move both const and non-const checks into a single testcase
JINMEI Tatuya [Thu, 4 Oct 2012 07:30:47 +0000 (00:30 -0700)]
[2284] reverted the getAtOrigin() framework.
Unfortunately it turned out it doesn't work for the originally intended
purpose. See the ticket for details.
JINMEI Tatuya [Thu, 4 Oct 2012 06:28:18 +0000 (23:28 -0700)]
[2268] style fix (brace position) and clarify variable (s/set/rdataset/)
JINMEI Tatuya [Thu, 4 Oct 2012 05:58:06 +0000 (22:58 -0700)]
[2203] forotten cleanup: removed now-unused header file.
JINMEI Tatuya [Thu, 4 Oct 2012 05:56:31 +0000 (22:56 -0700)]
[2268] even more editorial/style fixes
JINMEI Tatuya [Thu, 4 Oct 2012 05:23:47 +0000 (22:23 -0700)]
[2268] more style/editorial fixes
- brace position
- combine short lines
- clarify variable name ('set' sounds too generic)
Mukund Sivaraman [Thu, 4 Oct 2012 04:48:57 +0000 (10:18 +0530)]
[2206] Make a common function out of duplicate code
JINMEI Tatuya [Thu, 4 Oct 2012 04:14:44 +0000 (21:14 -0700)]
[2268] minor editorial fixes: spacing, combining two short lines
JINMEI Tatuya [Thu, 4 Oct 2012 00:28:41 +0000 (17:28 -0700)]
[2203] a piggy back fix: prevent redundant initial data configuration.
this addresses the issue described in #2291. Still not really clean,
but thanks to boost::bind we can centralize all the code logic in the
callback, so I think it's now less likely that we forget cleaning it up
when the hack is not necessary.
JINMEI Tatuya [Thu, 4 Oct 2012 00:17:36 +0000 (17:17 -0700)]
[2203] changed configurator class to a simple function.
as it's now completely stateless and can work independently.
the common specialization for the main implementation is defined in a
new created .cc file.
JINMEI Tatuya [Wed, 3 Oct 2012 22:44:29 +0000 (15:44 -0700)]
[2203] pass server obj to configurator's reconfigure().
now the configurator class is completely stateless.
JINMEI Tatuya [Wed, 3 Oct 2012 22:24:22 +0000 (15:24 -0700)]
[2203] refactoring 2nd step: configurator can now be a separate object.
i.e., it's not a singleton any more.
testReconfigure() method isn't needed any more because it doesn't hold
CC session internally.
DatasrcConfiguratorTest.initialization test currently fails and is
disabled for now. The plan is to make the class completely stateless,
at which point we don't even have to think about initialization or cleanup,
and then the test will be able to be removed.
JINMEI Tatuya [Wed, 3 Oct 2012 21:12:39 +0000 (14:12 -0700)]
[1870] avoid using "no" keyword as a configured value for "bind10-include".
JINMEI Tatuya [Wed, 3 Oct 2012 19:21:40 +0000 (12:21 -0700)]
[1870] removed unnecessary call to AX_BOOST_INCLUDE.
since AC_REQUIRE internally does it.
Mukund Sivaraman [Wed, 3 Oct 2012 17:12:26 +0000 (22:42 +0530)]
[2268] Make all hash related checks use isc::dns::NSEC3Hash
This is possible now as we have the new NSEC3Hash::create() variant.
JINMEI Tatuya [Wed, 3 Oct 2012 17:12:07 +0000 (10:12 -0700)]
[2206] editorial fix: combine two short lines
(I also suspect it may not work if '\c' continues to the next line.
this change also avoids that)
Marcin Siodelski [Wed, 3 Oct 2012 17:11:17 +0000 (19:11 +0200)]
[2304] Added basic implementation of OptionDefinition class and unit tests.
Mukund Sivaraman [Wed, 3 Oct 2012 16:53:23 +0000 (22:23 +0530)]
[2268] Remove duplicate copies of NSEC3 check code
JINMEI Tatuya [Wed, 3 Oct 2012 16:26:13 +0000 (09:26 -0700)]
[master] Merge branch 'trac2060'
JINMEI Tatuya [Wed, 3 Oct 2012 16:21:16 +0000 (09:21 -0700)]
[2060] clarified the ownership of obj returned via getFinder/AllRRsets.
Jelte Jansen [Wed, 3 Oct 2012 14:54:08 +0000 (16:54 +0200)]
[2275] valgrind fix: initialize memory in labelsequence test
Jelte Jansen [Wed, 3 Oct 2012 14:42:08 +0000 (16:42 +0200)]
[2275] valgrind fix: store singleton instance in auto_ptr
Jelte Jansen [Wed, 3 Oct 2012 14:11:51 +0000 (16:11 +0200)]
[2275] valgrind fix: close db in test case
Stephen Morris [Wed, 3 Oct 2012 13:32:37 +0000 (14:32 +0100)]
[2269] Minor documentation changes.
Jelte Jansen [Wed, 3 Oct 2012 11:07:54 +0000 (07:07 -0400)]
[master] fix src/lib/util/threads compiler/linker flags
This fixes the compilation issue shown on http://git.bind10.isc.org/~tester/builder/BIND10-valgrind/
20121003092419 -CentOS5-x86_64-GCC/logs/build.out
Discussed on jabber
Mukund Sivaraman [Wed, 3 Oct 2012 10:50:48 +0000 (16:20 +0530)]
[2268] Sort oft-used RRTypes to be in front of RdataSet lists
Yoshitaka Aharen [Wed, 3 Oct 2012 10:12:52 +0000 (19:12 +0900)]
[2157] documentation update
Mukund Sivaraman [Wed, 3 Oct 2012 10:05:08 +0000 (15:35 +0530)]
[2268] Remove unused includes from InMemoryClient implementation
Mukund Sivaraman [Wed, 3 Oct 2012 09:59:38 +0000 (15:29 +0530)]
[2268] Untabify code
Mukund Sivaraman [Wed, 3 Oct 2012 09:58:16 +0000 (15:28 +0530)]
[2268] Remove pimpl from InMemoryClient
Mukund Sivaraman [Wed, 3 Oct 2012 09:34:51 +0000 (15:04 +0530)]
[2268] Remove unused member variables from InMemoryClient::Loader
Mukund Sivaraman [Wed, 3 Oct 2012 09:22:28 +0000 (14:52 +0530)]
[2268] Use the ZoneDataUpdater in test code too
Mukund Sivaraman [Wed, 3 Oct 2012 09:10:35 +0000 (14:40 +0530)]
[2268] Use ZoneDataUpdater in InMemoryClient
JINMEI Tatuya [Wed, 3 Oct 2012 07:58:32 +0000 (07:58 +0000)]
[master] added 'std::' to strerror. sunstudio is strict and requires this.
this fixes build regression: http://git.bind10.isc.org/~tester/builder//BIND10/
20121003052334 -Solaris10-sparc-Sunstudio/logs/build.out
committing at my discretion (confirmed it compiled)
Mukund Sivaraman [Wed, 3 Oct 2012 07:55:34 +0000 (13:25 +0530)]
[2268] Add ZoneDataUpdater class
Yoshitaka Aharen [Tue, 2 Oct 2012 10:34:02 +0000 (19:34 +0900)]
[2157] add header files to EXTRA_DIST
add statistics header files to EXTRA_DIST
Mukund Sivaraman [Wed, 3 Oct 2012 05:45:52 +0000 (11:15 +0530)]
[2206] Add comment about moving methods to the header later
Mukund Sivaraman [Wed, 3 Oct 2012 05:41:02 +0000 (11:11 +0530)]
[2206] Change getHeader() to return a reference
Mukund Sivaraman [Wed, 3 Oct 2012 05:34:51 +0000 (11:04 +0530)]
[2206] Remove redundant return descriptions
Mukund Sivaraman [Wed, 3 Oct 2012 05:32:16 +0000 (11:02 +0530)]
[2206] Fix doc comment
Mukund Sivaraman [Wed, 3 Oct 2012 05:28:30 +0000 (10:58 +0530)]
[2206] Add const variant of getHeader()
Mukund Sivaraman [Wed, 3 Oct 2012 05:27:59 +0000 (10:57 +0530)]
[2206] Fix const variant of getTable()
Mukund Sivaraman [Wed, 3 Oct 2012 05:27:42 +0000 (10:57 +0530)]
[2206] Add const method tests
Mukund Sivaraman [Wed, 3 Oct 2012 05:19:54 +0000 (10:49 +0530)]
[2206] Update comments
Mukund Sivaraman [Wed, 3 Oct 2012 05:19:01 +0000 (10:49 +0530)]
[2206] Make constructors protected
Mukund Sivaraman [Wed, 3 Oct 2012 04:51:17 +0000 (10:21 +0530)]
[2206] Use a fixture in tests
Mukund Sivaraman [Wed, 3 Oct 2012 04:40:32 +0000 (10:10 +0530)]
[2206] Add a ZoneTableSegment::destroy() method
Also update doc comments asking callers to use the destroy() method.
Mukund Sivaraman [Wed, 3 Oct 2012 04:30:06 +0000 (10:00 +0530)]
[2206] Add a doc comment that getHeader() should never return NULL
Mukund Sivaraman [Wed, 3 Oct 2012 04:28:04 +0000 (09:58 +0530)]
[2206] Add ZoneTableHeader::getTable() method
Mukund Sivaraman [Wed, 3 Oct 2012 04:03:54 +0000 (09:33 +0530)]
[2206] Update doc comments to remove redundant bits
Also correct comments where wrong, and add a code comment for
ZoneTableSegment::create().
JINMEI Tatuya [Wed, 3 Oct 2012 03:38:31 +0000 (20:38 -0700)]
[2203] changed the callback type of addRemoteConfig to boost::function.
this will make it more convenient, e.g., by allowing the caller to pass
boost::bind encapsulating a class object and a class method.
boost::function is upper compatible to function pointer, so it doesn't
ensure source-level compatibility.
the functor overhead shouldn't matter in this context, and since this module
already uses boost::function this change doesn't introduce additional
dependency.
JINMEI Tatuya [Wed, 3 Oct 2012 03:24:57 +0000 (20:24 -0700)]
[2203] refactoring 1st step: move session obj outside of datasrc configurator.
JINMEI Tatuya [Tue, 2 Oct 2012 23:12:29 +0000 (16:12 -0700)]
[2060] (unrelated) make the finder Context class "more basic"
by defining a generic derived class and moving optional member variables
there.
this essentially addresses the issue of #1767.
JINMEI Tatuya [Tue, 2 Oct 2012 21:15:14 +0000 (14:15 -0700)]
[2060] added the getAtOrigin() method to ZoneFinder::Context.
defining the common interface and the default implementation.
Michal 'vorner' Vaner [Tue, 2 Oct 2012 19:21:48 +0000 (21:21 +0200)]
Merge #2202
The locking of client lists in auth server. This is to allow background
loading later on.
Conflicts:
src/bin/auth/auth_srv.cc
src/bin/auth/auth_srv.h
Michal 'vorner' Vaner [Tue, 2 Oct 2012 19:05:33 +0000 (21:05 +0200)]
[2292] Get rid of the const_cast
It was needed when extracting data from a domain tree chain. The chain
now can hold mutable pointers too, so we use that (and some amount of
template bureaucracy) to avoid the cast.
While the interface changed (on the core find function, it is not
possible to pass const node chain and have a mutable node get out), it
doesn't seem to influence the current code. Also, it is a private
interface anyway, so it should be safe.
Mukund Sivaraman [Tue, 2 Oct 2012 14:47:11 +0000 (20:17 +0530)]
[master] Add link to system specific install instructions to INSTALL
Michal 'vorner' Vaner [Tue, 2 Oct 2012 18:22:23 +0000 (20:22 +0200)]
[2292] Parametrize constness of the chain
JINMEI Tatuya [Tue, 2 Oct 2012 17:43:35 +0000 (10:43 -0700)]
[2202] minor style fix: folded a long line.
Tomek Mrugalski [Tue, 2 Oct 2012 15:18:49 +0000 (17:18 +0200)]
[2237] Pool4 and tests implemented.
JINMEI Tatuya [Tue, 2 Oct 2012 14:53:56 +0000 (16:53 +0200)]
[2202] Change comment style
So it is consistent with the rest.
Jelte Jansen [Tue, 2 Oct 2012 14:26:22 +0000 (16:26 +0200)]
[master] update changelog for merge of 2254
Michal 'vorner' Vaner [Tue, 2 Oct 2012 14:21:44 +0000 (16:21 +0200)]
[2202] Use simpler test for mutex
As Jinmei suggests, a double seems to be not atomic enough, so we can
use that. This is mostly his code, slightly modified (and comments
rewritten).
Jelte Jansen [Tue, 2 Oct 2012 14:00:42 +0000 (16:00 +0200)]
[master] forgot to add test file to EXTRA_DIST
Jelte Jansen [Tue, 2 Oct 2012 13:47:53 +0000 (15:47 +0200)]
[master] Merge branch 'trac2254'
Jelte Jansen [Tue, 2 Oct 2012 13:44:50 +0000 (15:44 +0200)]
[2254] Merge branch 'trac2254' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2254
Jelte Jansen [Tue, 2 Oct 2012 13:41:01 +0000 (15:41 +0200)]
[2254] one more comment
Mukund Sivaraman [Tue, 2 Oct 2012 13:36:11 +0000 (19:06 +0530)]
Merge branch 'master' into trac2276
Jelte Jansen [Tue, 2 Oct 2012 13:30:22 +0000 (15:30 +0200)]
[2254] Expand _complete comment, add one more testcase
also renamed IDENTIFIER_PARAM to CFGITEM_IDENTIFIER_PARAM
Mukund Sivaraman [Tue, 2 Oct 2012 13:30:02 +0000 (19:00 +0530)]
[2301] Add comment for ANY_SUB query
Mukund Sivaraman [Sun, 30 Sep 2012 20:07:11 +0000 (01:37 +0530)]
[2301] Update ANY_SUB query to use LIKE clause efficiently
See <https://lists.isc.org/pipermail/bind10-dev/2012-March/003167.html>
for discussion.
We should not do concatenation in the SQL clause (i.e., pass an
expression to LIKE). We also query on the 'rname' column (labels in
reverse order) instead of 'name'.
Yoshitaka Aharen [Tue, 2 Oct 2012 10:34:02 +0000 (19:34 +0900)]
[2157] add header files to EXTRA_DIST
add statistics header files to EXTRA_DIST
Yoshitaka Aharen [Tue, 2 Oct 2012 09:54:09 +0000 (18:54 +0900)]
[2157] fix systest failure
update the name of statistics items in systest
Yoshitaka Aharen [Tue, 2 Oct 2012 09:43:48 +0000 (18:43 +0900)]
[2157] some optimization of statistics in query processing
Yoshitaka Aharen [Tue, 2 Oct 2012 09:25:19 +0000 (18:25 +0900)]
[2157] modified an interface to get statistics data
Counters::get returns auth statistics data in the format defined in the
spec file.
Michal 'vorner' Vaner [Tue, 2 Oct 2012 08:53:10 +0000 (10:53 +0200)]
[2202] Comment catching of exceptions
Michal 'vorner' Vaner [Tue, 2 Oct 2012 08:43:09 +0000 (10:43 +0200)]
[2202] Assert instead of throw
So we don't throw from a destructor. This should never happen anyway.