blob: 98f1bab1e186ac3cf8cec26e8be875c401af6716 (
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
#include <cstdint>
namespace storage::spi {
/**
* Wrapper of constants that specify absolute lower and upper bounds for buckets
* that are to be processed on a node. These invariants must be maintained by
* split and join operations, as well as bucket creation.
*/
struct BucketLimits {
constexpr static uint8_t MinUsedBits = 8;
constexpr static uint8_t MaxUsedBits = 58;
};
}
|