Skip to content

Commit

Permalink
gossip: Use get_cluster_name and get_partitioner_name helper
Browse files Browse the repository at this point in the history
  • Loading branch information
asias committed Apr 16, 2015
1 parent e60f1db commit 0a1fffa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gms/gossiper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,7 @@ void gossiper::run() {
this->make_random_gossip_digest(g_digests);

if (g_digests.size() > 0) {
sstring cluster_name("my cluster_name");
sstring partioner_name("my partioner name");
gossip_digest_syn message(cluster_name, partioner_name, g_digests);
gossip_digest_syn message(get_cluster_name(), get_partitioner_name(), g_digests);

/* Gossip to some random live member */
bool gossiped_to_seed = do_gossip_to_live_member(message);
Expand Down

0 comments on commit 0a1fffa

Please sign in to comment.