Files
scylladb/service/tablet_allocator_fwd.hh
Raphael S. Carvalho 7ed5b44d52 load_balancer: Implement resize decisions
This implements the ability in load balancer to emit split or merge
requests, cancel ongoing ones if they're no longer needed, and
also finalize those that are ready for the topology changes.

That's all based on average tablet size, collected by coordinator
from all nodes, and split and merge thresholds.

Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
2024-01-25 18:36:08 -03:00

23 lines
339 B
C++

/*
* Copyright (C) 2024-present ScyllaDB
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include <cstdint>
namespace service {
// This the default target size of tablets.
static constexpr uint64_t default_target_tablet_size = 5UL * 1024 * 1024 * 1024;
class tablet_allocator_impl;
class tablet_allocator;
}