aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/common/content_bucket_db_options.h
blob: b8c9cc6cdf498c3d470b77541f80f825dc66c5e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <cstdint>

namespace storage {

/**
 * Type-safe encapsulation of any options that can be passed from config
 * to the content node bucket database implementation.
 */
struct ContentBucketDbOptions {
    // The number of DB stripes created will be 2^n (within implementation limits)
    // TODO expose max limit here?
    uint8_t n_stripe_bits = 0;
};

}