take a look at the following code:
when it requests the file list, the joiner does not have the data locally and it tries to do a putIfAbsent with an empty set. However, when it reaches the primary owner (if not changed), it will return the current file list.
After, it tries to read the files returned in the set and it cannot find it, throwing an IOException – "Read past EOF"
A validation should be made in order to not allow clustered caches without state transfer.