blob: 73edfb6c1a51c53c347e74d83e285845949c7b21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "reindexing_constants.h"
namespace storage {
const char* reindexing_bucket_lock_bypass_prefix() noexcept {
// This is by design a string that will fail to parse as a valid document selection in the backend.
// It's only used to bypass the read-for-write visitor bucket lock.
return "@@__vespa_internal_allow_through_bucket_lock";
}
const char* reindexing_bucket_lock_visitor_parameter_key() noexcept {
return "__vespa_internal_reindexing_bucket_token";
}
}
|