If there were objects added at runtime (either through direct api
creation or by using the config file management api) the newly
created objects must be synced first, and then the stored historical
data should be synced.
refs #9927
refs #9100
if (endpoint) {
endpoint->AddClient(aclient);
+ /* sync zone file config */
+ SendConfigUpdate(aclient);
+ /* sync runtime config */
+ SendRuntimeConfigObjects(aclient);
+
if (need_sync) {
{
ObjectLock olock(endpoint);
ReplayLog(aclient);
}
-
- /* sync zone file config */
- SendConfigUpdate(aclient);
- /* sync runtime config */
- SendRuntimeConfigObjects(aclient);
} else
AddAnonymousClient(aclient);
} else {