aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/node_supported_features.h
blob: f4c9553775bb6b5a29eefb2d197614c62f9d11ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace storage::distributor {

/**
 * Collection of distinct features supported by a particular content node.
 *
 * Communicated to a distributor via bucket info exchanges. All features
 * are initially expected to be unsupported.
 */
struct NodeSupportedFeatures {
    bool unordered_merge_chaining  = false;
    bool two_phase_remove_location = false;
    bool no_implicit_indexing_of_active_buckets = false;
    bool document_condition_probe  = false;

    bool operator==(const NodeSupportedFeatures& rhs) const noexcept = default;
};

}