Valentin Kulichenko created IGNITE-4641:
-------------------------------------------
Summary: Refresh client attributes during reconnect
Key: IGNITE-4641
URL: https://issues.apache.org/jira/browse/IGNITE-4641
Project: Ignite
Issue Type: Improvement
Components: general
Affects Versions: 1.8
Reporter: Valentin Kulichenko
Fix For: 1.9
Currently, when client disconnects and reconnects, it is forced to do that with
the exact same set of attributes. However, there can be a component that wants
to update attribute(s) in {{onDisconnected}} method, so that node reconnects
with new attributes. To make sure this happens we need to refresh attributes
before reconnecting. Most likely this should happen in
{{TcpDiscoveryNode.clientReconnectNode()}} method which should acquire
attributes via {{GridKernalContext.nodeAttributes()}}.
Typical use case is a security token that can expire. Security processor
implementation may want to refresh the token in case of disconnect, but this is
not possible now.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)