Skip to content

Commit

Permalink
Merge policy and UCN (#1456)
Browse files Browse the repository at this point in the history
Added support for merge policies UCN for all core data structures and
vector collection.

Jira:
https://hazelcast.atlassian.net/browse/CORE-186
https://hazelcast.atlassian.net/browse/AI-206

PR:
hazelcast/hazelcast-mono#3721
hazelcast/hazelcast-mono#3616

---------

Co-authored-by: James Holgate <[email protected]>
Co-authored-by: Rob Swain <[email protected]>
  • Loading branch information
3 people authored Jan 16, 2025
1 parent b9ef0a8 commit afcf4e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/clusters/pages/user-code-namespaces.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Your resources can be run on a Hazelcast cluster to support your business logic.

* MapStore
* Split brain events
* Custom merge policies
* `ExecutorService` runnable
* Jet jobs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ public interface SplitBrainMergePolicy<V, T extends MergingValue<V>, R>
NOTE: Please have in mind that `existingValue` can be `null`.
This happens when a data structure or key-based entry was just created in the smaller cluster.

NOTE: Custom merge policy classes must be present on the classpath of all member nodes. This can be achieved
by updating the classpath for each node manually, or by using the {ucn} feature. See xref:clusters:user-code-namespaces.adoc[User Code Namespaces] for more information.

=== Merge Types

A merge type defines an attribute which is required by a merge policy and provided by a data structure.
Expand Down

0 comments on commit afcf4e6

Please sign in to comment.