-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
18.0.1.Final
-
None
In the event of a detected network partition, the distributed web session manager's Infinispan cache behaves in one of 3 ways:
- Disallow both reads and writes from/to a web session in all partitions
- Allow reads from a web session in all partitions, but only allow writes to a web session if the partition contains all data owners.
- Allow both reads and writes to/from a web session in all partitions
For customers who opt for #3 (i.e. maximum availability), in the event that a web session is updated in both partitions, they need be able to provide a mechanism to resolve conflicts when the partitions eventually merge.
Something like:
public interface SessionAttributeMergePolicy { Object merge(String attributeName, Object primaryPartitionAttributeValue, Iterable<Object> minorityPartitionAttributeValues); }
- relates to
-
WFLY-12881 Cannot customize split behavior and merge policy for Infinispan partition handling
- Coding In Progress