Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10
-
None
-
None
-
Write to Distributed Metastorage now throws exception on client if client is not connected to topology
-
Release Notes Required
Description
Reference to Distributed Metastorage can be obtained on client that hasn't connected to any server node yet.
The reference allows to send write request that will be completed after client connect when Tcp Discovery is used and dropped on ZK Discovery.
To make API more reliable we need to change this behavior: when client is not connected to any server (because there are no servers in topology yet or because it has disconnected from topology) all incoming write or cas requests should be dropped, appropriate exception should be thrown.