]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2204] added notes about future extensions of incremental datasrc config update
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Oct 2012 20:26:20 +0000 (13:26 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Oct 2012 20:26:20 +0000 (13:26 -0700)
src/bin/auth/datasrc_config.h

index 02e4e5c45ef82bd5d4819b77b8434d377bd8eba6..678b87f55654a7e752d5bdfbc255b3da050c7675 100644 (file)
 /// You don't need to pay attention to it, use the configureDataSource
 /// specialization instead.
 ///
+/// \note In future we may want to make the reconfiguration more efficient
+/// by only creating newly configured data and just moving the rest from
+/// the running configuration if they are used in the new configuration
+/// without any parameter change.  We could probably do it by passing
+/// the old lists in addition to the new config, but further details are
+/// still to be defined yet.  It will surely require changes in the
+/// data source library, too.  So, right now, we don't introduce the
+/// possibility in the function interface.  If and when we decide to introduce
+/// the optimization, we'll extend the interface.
+///
 /// \param config The configuration value to parse. It is in the form
 ///     as an update from the config manager.
 /// \return A map from RR classes to configured lists.