From 6feee5938a57adfb13e08682105fda0fa95d2e95 Mon Sep 17 00:00:00 2001 From: Juliusz Stasiewicz Date: Fri, 26 Jun 2020 05:58:22 +0200 Subject: [PATCH] Signal usage of shard-aware driver --- src/cluster.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cluster.cpp b/src/cluster.cpp index f03eaabd0..e40b29df4 100644 --- a/src/cluster.cpp +++ b/src/cluster.cpp @@ -25,6 +25,8 @@ #include "speculative_execution.hpp" #include "utils.hpp" +#include + using namespace datastax; using namespace datastax::internal::core; @@ -235,6 +237,8 @@ Cluster::Cluster(const ControlConnection::Ptr& connection, ClusterListener* list , local_dc_(local_dc) , supported_options_(supported_options) , is_recording_events_(settings.disable_events_on_startup) { + std::cout << "===== Using optimized driver!!! =====\n"; + inc_ref(); connection_->set_listener(this);