Skip to content

Commit

Permalink
Make cross-site failure detection configurable
Browse files Browse the repository at this point in the history
Closes #1869
  • Loading branch information
pruivo authored and ryanemerson committed Sep 8, 2023
1 parent d0b581f commit c931364
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/crd/bases/infinispan.org_infinispans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ spec:
type: string
suspectEvents:
description: Enables the JGroups suspect events if
the Gossip Router detects a connectio closed
the Gossip Router detects a connection closed
type: boolean
type:
description: Configures the discovery mode for cross-site
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/rice-box.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/templates/templates/infinispan-admin-14.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<!-- we are unable to use FD_SOCK with openshift -->
<!-- otherwise, we would need 1 external service per pod -->
<FD_SOCK2 stack.combine="REMOVE"/>
<!-- defaults: https://github.com/belaban/JGroups/blob/25394fdc3e781814dfdd9c9006ba0c0de3b62071/src/org/jgroups/protocols/FailureDetection.java#L27-L32 -->
<FD_ALL3
interval="${jgroups.xsite.fd.interval:8000}"
timeout="${jgroups.xsite.fd.timeout:40000}"
stack.combine="COMBINE"/>
{{ if .JGroups.FastMerge }}
<MERGE3 min_interval="1000" max_interval="3000" check_interval="5000" stack.combine="COMBINE"/>
{{ end }}
Expand Down

0 comments on commit c931364

Please sign in to comment.