2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

12705 Commits

Author SHA1 Message Date
JINMEI Tatuya
2f6a2e484a [2211] use data source client mgr for query_bench 2012-10-19 22:56:39 -07:00
JINMEI Tatuya
15a048bef5 [2211] use DataSrcClientsMgr in the remote config handler for data_sources. 2012-10-19 22:47:04 -07:00
JINMEI Tatuya
a9af8c8a7a [2211] test duplicate mgr holder acquisition instead using auth locker
the latter will soon be deprecated.
2012-10-19 22:33:01 -07:00
JINMEI Tatuya
86fe8fce9d [2211] use DataSrcClientsMgr for query processing 2012-10-19 22:27:30 -07:00
JINMEI Tatuya
c9b8a023d1 [2211] make DataSrcClientsMgr and DataSrcClientsBuilder non copyable.
they are not expected to be copied, and I actually had a bug due to an
accidental copy.  Making it non copyable will help avoid such bugs.
2012-10-19 20:18:59 -07:00
JINMEI Tatuya
0e56f89088 [2211] updated auth LoadZoneCommand so it uses the new DataSrcClientsMgr. 2012-10-19 20:15:16 -07:00
JINMEI Tatuya
0e70ad361a [2211] introduce DataSrcClientsMgr::Holder.
auth_srv test's clientList tests are now converted to clients manager's test.
("holder" tests).
2012-10-19 16:53:01 -07:00
JINMEI Tatuya
adc18e7e10 [2211] create the client lists map in the DataSrcClientsMgr ctor.
this will help corner case considerations of it being NULL
2012-10-19 15:52:02 -07:00
JINMEI Tatuya
8a4c6f4bbf [2211] added trivial getter for data source clients manager. 2012-10-19 15:17:52 -07:00
JINMEI Tatuya
77d522cf9e [2211] moved DataSrcClientsMgr object from main to auth_srv
this way we can avoid having a situtation that it's NULL.
2012-10-19 15:07:32 -07:00
JINMEI Tatuya
eb90dff94f [2211] added reconfigure() for DataSrcClientsMgr 2012-10-19 14:46:21 -07:00
JINMEI Tatuya
bef1229c90 [2207] style fix: folded a long line. 2012-10-19 13:38:02 -07:00
Michal 'vorner' Vaner
21170f738c [2207] Extend the strong-exception guarantee test
We try to put some data there and see it survived.
2012-10-19 19:55:53 +02:00
JINMEI Tatuya
213bd813eb [2210] editorial cleanup: removed a redundant blank line. 2012-10-19 10:55:19 -07:00
JINMEI Tatuya
3a0cd3a067 [2210] style fix: adjusted brace position 2012-10-19 10:24:07 -07:00
JINMEI Tatuya
307b9baac8 [2210] (unrelated) cleanup: removed now-unnecessary include. 2012-10-19 10:23:50 -07:00
Michal 'vorner' Vaner
396d1867ce [2207] Exceptions & asserts
Changed an exception for unexpected problem and removed a comment about
assert.
2012-10-19 19:10:39 +02:00
Michal 'vorner' Vaner
c1e16071d9 [2207] Documentation update 2012-10-19 19:09:07 +02:00
Michal 'vorner' Vaner
451973cb26 [2207] Use state variable
Instead of several boolean variables.
2012-10-19 18:58:57 +02:00
JINMEI Tatuya
f6f1661103 [2210] style fix: use const& for catch 2012-10-19 09:44:09 -07:00
Jeremy C. Reed
c62976b616 [trac2361] typo fix in comment
noticed this while editing file for previous commit
2012-10-19 10:17:23 -05:00
Jeremy C. Reed
7161d9d899 [trac2361] fix issue where the bind10 could not run in source tree
when the installation was not done yet.

I added extra local_plugins path and custom datasrc.spec plugin for that.
2012-10-19 10:14:44 -05:00
Mukund Sivaraman
3ac353a5a5 [2361] Make minor whitespace updates 2012-10-19 06:08:28 +05:30
Jelte Jansen
9e8803c63d [2210] assorted cleanups
A few more checks in test
cleaned up added headers
reordered log message file
2012-10-18 20:44:05 +02:00
Jelte Jansen
0002fc16bf [2210] move DataSrcClientListsPtr typedef
from AuthSrv:: (in auth_srv.h) to isc:datasrc:: (in client_list.h), the previous location wasn't really relevant now that it is used elsewhere, and this seemed the most logical location
2012-10-18 20:43:43 +02:00
Jelte Jansen
6319666e91 [2210] Add support for reconfigure in datasrc_clients_mgr 2012-10-18 20:41:50 +02:00
JINMEI Tatuya
c13d57b516 [master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-10-18 09:17:31 -07:00
JINMEI Tatuya
fc846d678c [master] rename lock.h->sync.h, which was changed while #2205 was dev'ed 2012-10-18 09:16:24 -07:00
JINMEI Tatuya
f0fc85c74e [master] Merge branch 'trac2205' 2012-10-18 09:10:12 -07:00
Jeremy C. Reed
c627111eee [master] add missing logger placeholder for RESOLVER_NON_IN_PACKET
See ticket #2366 for details.

Okayed by muks on jabber.

Note that no test checked this and I don't introduce any test
since I am pretty sure this code will no exist in any production
version of a resolver (since won't limit IN only).
2012-10-18 10:54:00 -05:00
Jeremy C. Reed
a82ee1d047 [trac2361]Merge branch 'master' into trac2361 2012-10-18 09:42:44 -05:00
Jeremy C. Reed
7c40eaf777 [trac2361] add new test for CHAOS version.bind and authors.bind TXT 2012-10-18 09:40:55 -05:00
Mukund Sivaraman
fa78c4ba3a [2236] Include and use the define from config.h 2012-10-18 19:13:02 +05:30
Mukund Sivaraman
149df5a690 [2236] Add status whether debugging is enabled in configure output
This also fixes a bug where the AM_CONDITIONAL was not set properly.
2012-10-18 19:12:37 +05:30
Mukund Sivaraman
2a6f076400 [2236] Use ENABLE_DEBUG within the lock implementation 2012-10-18 19:02:36 +05:30
Mukund Sivaraman
4887037cd0 [2236] Add a --enable-debug configure flag 2012-10-18 19:02:04 +05:30
Jelte Jansen
7e1c432878 [master] remove include of moved file lock.h
(it is now sync.h, which was already included)

Acked on jabber by muks
2012-10-18 15:03:28 +02:00
Jelte Jansen
8580400e93 [master] Merge branch 'trac2349'
Conflicts:
	src/lib/util/threads/tests/lock_unittest.cc
2012-10-18 14:19:35 +02:00
Jelte Jansen
9b439f1bf7 [2205] initialize member signal_count 2012-10-18 14:16:22 +02:00
JINMEI Tatuya
9904c81d78 [2205] minor style fix: brace position 2012-10-17 17:23:31 -07:00
JINMEI Tatuya
110a33e6c2 [master] temporarily disabled destroyWhileWait due to compat issue with solaris
solaris's pthread_cond_destroy doesn't seem to fail reliably in this case
as the test expects.
2012-10-17 17:07:35 -07:00
JINMEI Tatuya
0582539b20 [2205] reordered log messages 2012-10-17 16:18:54 -07:00
JINMEI Tatuya
59ca623275 [2205] tried to improve what() message of some test exceptions 2012-10-17 16:17:39 -07:00
JINMEI Tatuya
f34ff8e2e6 [2205] clarify the accessibility of DataSrcClientsBuilderBase 2012-10-17 16:15:10 -07:00
JINMEI Tatuya
d5afffd2e3 [2205] logged really unexpected exception in manager's dtor. 2012-10-17 16:12:50 -07:00
JINMEI Tatuya
949aded6b4 [2205] some wording fixes in-code documentation 2012-10-17 16:05:51 -07:00
JINMEI Tatuya
c2608e7b39 [2205] avoid referencing post-destructor member variables.
by a bit ugly hack: we specialize some part of the destructor and make
a local copy of these variables so the tests can inspect them later.
2012-10-17 15:56:27 -07:00
JINMEI Tatuya
5080ddf460 [master] Merge branch 'trac2332'
commit.
 commit.
2012-10-17 14:45:57 -07:00
Jelte Jansen
6fca5f367b [2349] use existing member running_query_ in tests
to delete AbstractRunningQuery objects returned by forward()
2012-10-17 23:15:20 +02:00
Marcin Siodelski
b617d1a26e [2304] Applied changes suggested in the second code review. 2012-10-17 22:41:48 +02:00