mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
gossip: Add get_cluster_name and get_partitioner_name helper
DatabaseDescriptor.getClusterName and .getPartitionerName are not ready. Add helpers to wrap them up.
This commit is contained in:
@@ -87,6 +87,14 @@ private:
|
||||
}
|
||||
void do_sort(std::vector<gossip_digest>& g_digest_list);
|
||||
timer<lowres_clock> _scheduled_gossip_task;
|
||||
sstring get_cluster_name() {
|
||||
// FIXME: DatabaseDescriptor.getClusterName()
|
||||
return "my_cluster_name";
|
||||
}
|
||||
sstring get_partitioner_name() {
|
||||
// FIXME: DatabaseDescriptor.getPartitionerName()
|
||||
return "my_partitioner_name";
|
||||
}
|
||||
private:
|
||||
inet_address get_broadcast_address() {
|
||||
// FIXME: Helper for FBUtilities.getBroadcastAddress
|
||||
|
||||
Reference in New Issue
Block a user