Description
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.
Attachments
Issue Links
- relates to
-
IGNITE-10513 Java client stucks when connects to server with slow disk
- Resolved