aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-11-30 14:46:53 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-11-30 14:46:53 +0100
commitef611f4f2cc1b57318ffca3d5d647383adae8252 (patch)
tree425cf8e992cbbccaf3a9b3d3f1eebb7864b1449b
parent3174a771b6f31281a722eef28353206e43eac9a1 (diff)
Add comments about ideal nodes changing when bucket used bits > 33.
-rw-r--r--storage/src/tests/distributor/distributor_bucket_space_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/distributor_bucket_space_test.cpp b/storage/src/tests/distributor/distributor_bucket_space_test.cpp
index 05abf315607..3880dd3d768 100644
--- a/storage/src/tests/distributor/distributor_bucket_space_test.cpp
+++ b/storage/src/tests/distributor/distributor_bucket_space_test.cpp
@@ -33,11 +33,17 @@ struct DistributorBucketSpaceTest : public ::testing::Test
{
}
~DistributorBucketSpaceTest() = default;
+ // Count normal buckets using this distributor
uint32_t count_distributor_buckets();
+ // Count normal buckets using service layer node 0.
uint32_t count_storage_buckets();
+ // Count deep split buckets using this distributor
uint32_t count_deep_split_distributor_buckets();
+ // Count deep split buckets using service layer node 0. Ideal nodes for a bucket changes for each split level when bucket used bits > 33.
uint32_t count_deep_split_storage_buckets();
+ // Count normal buckets using this distributor and service layer node 0
CountVector count_buckets();
+ // Count deep split buckets using this distributor and service layer node 0.
CountVector count_deep_split_buckets();
};