locator::reconnectable_snitch_helper: don't check messaging_service version

Don't demand the messaging_service version to be the same on both
sides of the connection in order to use internal addresses.

Upstream has a similar change for CASSANDRA-6702 in commit a7cae32 ("Fix
ReconnectableSnitch reconnecting to peers during upgrade").

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Message-Id: <1452686729-32629-1-git-send-email-vladz@cloudius-systems.com>
This commit is contained in:
Vlad Zolotarov
2016-01-13 14:05:29 +02:00
committed by Pekka Enberg
parent 9be42bfd7b
commit 922eb218b1

View File

@@ -65,7 +65,6 @@ private:
auto& sn_ptr = locator::i_endpoint_snitch::get_local_snitch_ptr();
if (sn_ptr->get_datacenter(public_address) == _local_dc &&
ms.get_raw_version(public_address) == net::messaging_service::current_version &&
ms.get_preferred_ip(public_address) != local_address) {
//
// First, store the local address in the system_table...