Hi, I believe that this paragraph describes what you want to see: Updating partition mapping
It is important for client to keep partition mapping updated. To ensure this, the following changes are proposed: 1. Changes in Standard Message Response header. It is proposed to add flag to every response, that shows whether the Affinity Topology Version of the cluster has changed since the last request from the client. 2. If the Affinity Topology Version of the cluster has changed since the last request from the client, new Affinity Topology Version is also included in the response. Once client detects changes in the Affinity Topology, it does the following: 1. Updates *distributionMap *and *partitionMap* (preferably asynchronously) for all active caches. It also may be done "on demand" - on the first call to the Cache instance; 2. Tries to establish connection to hosts, which is not yet connected. This is required as changes of the topology may be caused by the new node joining the cluster. More information is available on the wiki page. Evgenii чт, 25 апр. 2019 г. в 06:48, kcheng.mvp <[email protected]>: > From the document > > https://apacheignite.readme.io/docs/java-thin-client-initialization-and-configuration > > knows that ignite **thin** client mode failover is achieved by specified > multiple hosts(endpoints). > > > > But I know there is a new feature called IEP-23: Best Effort Affinity for > thin clients > < > https://cwiki.apache.org/confluence/display/IGNITE/IEP-23%3A+Best+Effort+Affinity+for+thin+clients> > > > my understanding is that this new feature by sending the cache commands to > the primary node of the key to improve the performance. > > saying there is a cluster with 4 server nodes(a,b,c,d) > > in the old fashion(without IEP-23), the service is available if there is at > least **One** server node is reachable.(for example: configure node-a, > node-b) > > but the same case with IEP-23, how does the client knows the remained > server > node in the cluster(ip address and port)? from java ignite thin client I > know a **Node ID** introduced, not I can not find the corresponding IP, > Port. from the document > > https://apacheignite.readme.io/docs/java-thin-client-initialization-and-configuration > i can't find information about this. > > As right now I am trying to implement an ignite go thin client, that's why > I > ask the detail information. > > > > > > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
