Description
When the client probes for a server object to perform an operation, make sure that the server chosen matches the correct criterion for that operation; for example to do N1QL query, the server object must match that service.
Currently, we use a method that looks like this to select the server for CB buckets: public IServer GetServer(string key, out IVBucket vBucket). Memcached buckets has a slightly different signature: IServer GetServer(string key). We may want to add separate methods for selecting nodes, perhaps even splitting the nodes into separate lists by service type.
Attachments
For Gerrit Dashboard: NCBC-902 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
51559,7 | NCBC-902: Make Server selection 'service aware' | master | couchbase-net-client | Status: MERGED | +2 | +1 |
51878,1 | Revert "NCBC-902: Make Server selection 'service aware'" | master | couchbase-net-client | Status: ABANDONED | 0 | 0 |