If in distributed mode, DistributedStateTransferTask on doPerformStateTransfer() pushes the entries that do not belong any more to that node to the new owners.
BaseStateTransferManagerImpl on applyState() puts the new received entries on each node.
But what if the new view is rolled backed? I cannot locate, checking the infinispan code, where the new entries related with the view that must be rollbacked are deleted from the cache.
Kind regards.
Fernando.