select_bucket requests incorrectly mapped to Index/Query nodes
Description
cluster.bucket() faces time out when the bootstrapping node is an index or query node as select_bucket request goes to 11210 port on non-kv node.
Tried this on all patches of Python SDK versions 4.0 and 4.1. Attached are the code ("temp.py") and SDK logs ("logs.log") from the Python SDK version 4.1.10 reproduction. The console output is:
Reproduction Steps: * create a 2-node cluster with 1 data node and 1 index/query node
run the attached Python code, with the connection string as only the Index/Query node.
cluster.bucket() faces time out when the bootstrapping node is an index or query node as select_bucket request goes to 11210 port on non-kv node.
Tried this on all patches of Python SDK versions 4.0 and 4.1.
Attached are the code ("temp.py") and SDK logs ("logs.log") from the Python SDK version 4.1.10 reproduction.
The console output is:
Reproduction Steps: * create a 2-node cluster with 1 data node and 1 index/query node
run the attached Python code, with the connection string as only the Index/Query node.