Compare commits

..

1 Commits

Author SHA1 Message Date
Shlomi Livne
d82f2fb7ee release: prepare for 2.0.5
Signed-off-by: Shlomi Livne <shlomi@scylladb.com>
2018-05-24 14:27:09 +03:00
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
VERSION=2.0.4
VERSION=2.0.5
if test -f version
then

View File

@@ -984,7 +984,7 @@ future<> gossiper::assassinate_endpoint(sstring address) {
logger.warn("Assassinating {} via gossip", endpoint);
if (es) {
auto& ss = service::get_local_storage_service();
tokens = ss.get_token_metadata().get_tokens(endpoint);
auto tokens = ss.get_token_metadata().get_tokens(endpoint);
if (tokens.empty()) {
logger.warn("Unable to calculate tokens for {}. Will use a random one", address);
throw std::runtime_error(sprint("Unable to calculate tokens for %s", endpoint));

View File

@@ -100,6 +100,7 @@ future<> ec2_multi_region_snitch::gossiper_starting() {
// Note: currently gossiper "main" instance always runs on CPU0 therefore
// this function will be executed on CPU0 only.
//
ec2_snitch::gossiper_starting();
using namespace gms;
auto& g = get_local_gossiper();