From: JINMEI Tatuya Date: Tue, 9 Oct 2012 20:26:20 +0000 (-0700) Subject: [2204] added notes about future extensions of incremental datasrc config update X-Git-Tag: trac2351_base~1^2~8^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f496bbe69fbff9228c48fc7bf9cc986ed7f420e4;p=thirdparty%2Fkea.git [2204] added notes about future extensions of incremental datasrc config update --- diff --git a/src/bin/auth/datasrc_config.h b/src/bin/auth/datasrc_config.h index 02e4e5c45e..678b87f556 100644 --- a/src/bin/auth/datasrc_config.h +++ b/src/bin/auth/datasrc_config.h @@ -35,6 +35,16 @@ /// 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.