blob: 46b7d4881696019b669ee90bb048a4201fd07123 (
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::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;
};
}
|