aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-02-07 16:03:06 +0100
committerGitHub <noreply@github.com>2023-02-07 16:03:06 +0100
commit260788dbcc76f4b7b0855bfa48e23495a1561e91 (patch)
tree801c3b04edadaf93f3c05958031202f9adb39668 /searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp
parentc71bc7f0582f0c29476310dec2c1c12762bcbb8d (diff)
parent1fb56a093caf4369189e0d00ff3e406d674ec420 (diff)
Merge pull request #25919 from vespa-engine/toregge/pass-optional-serial-num-to-prepare-reconfigv8.121.38
Pass optional serial num to prepare reconfig
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp
index 5a2e9447f9c..eef605cea3c 100644
--- a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.cpp
@@ -243,10 +243,10 @@ FastAccessDocSubDB::initViews(const DocumentDBConfig &configSnapshot)
}
}
-std::unique_ptr<const DocumentSubDBReconfig>
-FastAccessDocSubDB::prepare_reconfig(const DocumentDBConfig& new_config_snapshot, const DocumentDBConfig& old_config_snapshot, const ReconfigParams& reconfig_params)
+std::unique_ptr<DocumentSubDBReconfig>
+FastAccessDocSubDB::prepare_reconfig(const DocumentDBConfig& new_config_snapshot, const DocumentDBConfig& old_config_snapshot, const ReconfigParams& reconfig_params, std::optional<SerialNum> serial_num)
{
- return _configurer.prepare_reconfig(new_config_snapshot, old_config_snapshot, reconfig_params);
+ return _configurer.prepare_reconfig(new_config_snapshot, old_config_snapshot, reconfig_params, serial_num);
}
IReprocessingTask::List