We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47a27a commit d66e959Copy full SHA for d66e959
connection_pool/connection_pool.go
@@ -591,17 +591,6 @@ func (connPool *ConnectionPool) getConnectionRole(conn *tarantool.Connection) (R
591
return unknown, ErrIncorrectStatus
592
}
593
594
- resp, err = conn.Call17("box.info", []interface{}{})
595
- if err != nil {
596
- return unknown, err
597
- }
598
- if resp == nil {
599
- return unknown, ErrIncorrectResponse
600
601
- if len(resp.Data) < 1 {
602
603
604
-
605
replicaRole, ok := resp.Data[0].(map[interface{}]interface{})["ro"]
606
if !ok {
607
return unknown, ErrIncorrectResponse
0 commit comments