yifan-c commented on code in PR #45:
URL: 
https://github.com/apache/cassandra-analytics/pull/45#discussion_r1540144916


##########
cassandra-analytics-core/src/main/java/org/apache/cassandra/spark/bulkwriter/CassandraBulkWriterContext.java:
##########
@@ -64,7 +65,6 @@ private CassandraBulkWriterContext(@NotNull BulkSparkConf 
conf,
         this.conf = conf;
         this.clusterInfo = clusterInfo;
         String lowestCassandraVersion = 
clusterInfo.getLowestCassandraVersion();
-        CassandraBridge bridge = 
CassandraBridgeFactory.get(lowestCassandraVersion);

Review Comment:
   So, as you said, the effect is the same for both eager or lazy 
instantiation. But you can avoid synchronization if instantiate eagerly. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to