-2

我们目前正在使用驱动程序: https://github.com/yugabyte/gocql 版本gocql@v0.0.0-20200602185649-ef3952a45ff4

1)文档说:令牌感知策略功能可用:https://pkg.go.dev/github.com/yugabyte/gocql#hdr-Data_center_awareness_and_query_routing

2)在主分支中也可以实现:https://github.com/yugabyte/gocql/blob/master/policies.go#L345

+++

但是有一点混乱,因为这个特性仍然存在 Github 问题(令牌感知策略):https://github.com/yugabyte/yugabyte-db/issues/11376

  1. gocql 驱动程序是否支持查询的令牌感知路由?

  2. 如果是,需要使用哪个版本的 gocql?

4

0 回答 0