aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/index/fusionspec.h
blob: 858f31a8dc32a313e173222dee46b24bebd9406f (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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <cstdint>
#include <vector>

namespace searchcorespi::index {

/**
 * Specifies a set of disk index ids for fusion.
 *
 * Note: All ids in FusionSpec are absolute ids.
 **/
struct FusionSpec {
    uint32_t last_fusion_id;
    std::vector<uint32_t> flush_ids;

    FusionSpec() : last_fusion_id(0), flush_ids() {}
};

}