aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/common/subdbtype.h
blob: 8027e37ca2294391c6283c41c072e89c0b40347b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace proton {

/**
 * Enumeration of the different kinds of sub databases within a
 * document db.
 */
enum class SubDbType {
    READY = 0,
    REMOVED = 1,
    NOTREADY = 2,
    COUNT = 3/* number of valid subdb types, this value by itself is invalid */
};

}