state transfer with UPGRADE

16 views
Skip to first unread message

Eoin Mooney

unread,
Aug 22, 2025, 6:17:19 AMAug 22
to jgroups-dev
Hi all,

Using UPGRADE protocol with jgroups 5.2 from:
It seems the asynchronous nature of the UPGRADE protocol leads to a race-condition in JChannel.connect(), where it is possible that canFetchState is evaluated before a view is installed installed. When this happens, getState() is not called within JChannel.connect()

About 5-6 years ago, I noticed this same behavior (with a previous implementation of the protocol to support rolling upgrades - named RELAY3 at the time): https://groups.google.com/u/1/g/jgroups-dev/c/V_qtFDNQPwo/m/3UOwkUkoAwAJ
... but I completely missed the request to create a ticket at the time

I guess I'm wondering if this behavior is still considered broken? Should I raise an issue to track it?

Thanks in advance,
/Eoin
Reply all
Reply to author
Forward
0 new messages