Details
-
Improvement
-
Resolution: Fixed
-
Blocker
-
2.1.3
-
None
-
None
Description
The current Server class (analogous to a node or endpoint)currently supports 3 different service types: Data (k/v), Index and Query (N1QL). The structure of the class should be refactored to contain a list of services that each node is responsible for based upon the cluster map definition.
The construction of the class also needs to be changed so that only the services defined within the cluster map are created for each Server instance. This currently happens in CouchbaseConfigContext.LoadConfig.
This ticket is important because it "feature" proofs the Server class and the SDK going forward as new services are supported by Couchbase.