Do you have partition handling enabled? With this setting, the node should wipe out its data when re-joining the cluster (when it sees that it has been removed from the cluster as inactive).
I have tried that too Radim.
The behavior was after rejoining of main cluster back it has also wiped data on original members.
this was checked without versioning, will update with behavior again with versioning enabled as simple and partition handling enabled.
Thanks for a lead.
Data are wiped out only on the non-available partition when joining to available partition. If you see different behaviour, it's a bug. Could you write a reproducer? infinispan/PartitionHappeningTest.java at 7fa26cef1c9189c36da7694fb3f0ff0acf3bfd82 · infinispan/infinispan · GitHub should give you some clues how to simulate a partition.
With PartitionHandling enabled it should not wipe data from an AVAILABLE partition. If there is no partition like this (all are DEGRADED) none of the partitions will be wiped-out, it will merge all data.
This is according to the PartitionHandling definition.
If there is something unexpected please show the case and provide logfiles