Cassandra data stax driver update 4.4 query timeout issues

隐身守侯 提交于 2020-12-11 06:24:13

问题


our application was recently upgraded to cassandra datastax driver 4.4.X. Earlier it was on version 3.3. After the upgrade we noticed quite a lot of timeout issues for ex:

  1. init query timeout
  2. session query timeout
  3. control connection timeout..
  4. and other timeout parameters defaulted in reference.conf

Earlier this used to work with default parameter but after the upgrade we need to default this to > 5 seconds.

Have any one faced similar issue after the upgrade?


回答1:


You need to upgrade to at least Java driver 4.8 (better to 4.9) - previously timeouts were too aggressive (0.5 seconds), in 4.8 it was increased to 5 seconds (by fix of JAVA-2841).

Or you can just override corresponding parameters in the application.conf file.



来源:https://stackoverflow.com/questions/64027079/cassandra-data-stax-driver-update-4-4-query-timeout-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!