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.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Attachments

2

Activity

Show:
Resolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 12, 2024 at 7:44 AM
Updated February 14, 2024 at 4:04 PM
Resolved February 14, 2024 at 4:04 PM
Instabug