+1757. [bug] fdupont
+ config-backend-pull commands were fixed to be applied to the
+ current configuration
+ (Gitlab #1189)
+
1756. [bug] fdupont
Made the parking lot API generic thread safe.
(Gitlab #1255)
}
// Code from cbFetchUpdates.
+ // The configuration to use is the current one because this is called
+ // after the configuration manager commit.
try {
- auto srv_cfg = CfgMgr::instance().getStagingCfg();
+ auto srv_cfg = CfgMgr::instance().getCurrentCfg();
auto mode = CBControlDHCPv4::FetchMode::FETCH_UPDATE;
server_->getCBControl()->databaseConfigFetch(srv_cfg, mode);
} catch (const std::exception& ex) {
}
// Code from cbFetchUpdates.
+ // The configuration to use is the current one because this is called
+ // after the configuration manager commit.
try {
- auto srv_cfg = CfgMgr::instance().getStagingCfg();
+ auto srv_cfg = CfgMgr::instance().getCurrentCfg();
auto mode = CBControlDHCPv6::FetchMode::FETCH_UPDATE;
server_->getCBControl()->databaseConfigFetch(srv_cfg, mode);
} catch (const std::exception& ex) {