aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-07-17 11:49:12 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-07-17 11:49:12 +0200
commitf5116ccd4b414ff03f51697992f6a3bbfb0b2262 (patch)
treeaee1a032ca40f8b976432e24579132219dbd07f4 /searchcore
parent4b656fd432dd5dec91d10d5ba3957ead6f4110f3 (diff)
Extend log message when bucket space for document type has changed.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp b/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
index 41652fa4de8..a7dada3047c 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
@@ -184,7 +184,7 @@ ProtonConfigurer::configureDocumentDB(const ProtonConfigSnapshot &configSnapshot
if (bucketSpace != old_bucket_space) {
vespalib::string old_bucket_space_name = document::FixedBucketSpaces::to_string(old_bucket_space);
vespalib::string bucket_space_name = document::FixedBucketSpaces::to_string(bucketSpace);
- LOG(fatal, "Bucket space for document type %s changed from %s to %s", docTypeName.getName().c_str(), old_bucket_space_name.c_str(), bucket_space_name.c_str());
+ LOG(fatal, "Bucket space for document type %s changed from %s to %s. This triggers undefined behavior on a running system. Restarting process immediately to fix it.", docTypeName.getName().c_str(), old_bucket_space_name.c_str(), bucket_space_name.c_str());
std::_Exit(1);
}
documentDB->reconfigure(documentDBConfig);