Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer version of Jgroups and EclipseLink to prevent PKIX errors on OCP 4.x #14920

Merged
merged 10 commits into from
Oct 21, 2019
4 changes: 2 additions & 2 deletions assembly/assembly-wsmaster-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
</dependency>
<dependency>
<groupId>org.jgroups.kubernetes</groupId>
<artifactId>kubernetes</artifactId>
<artifactId>jgroups-kubernetes</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
Expand Down Expand Up @@ -440,7 +440,7 @@
<dep>org.eclipse.che.multiuser:che-multiuser-keycloak-token-provider</dep>
<dep>org.eclipse.persistence:org.eclipse.persistence.extension</dep>
<dep>org.eclipse.persistence:org.eclipse.persistence.jpa</dep>
<dep>org.jgroups.kubernetes:kubernetes</dep>
<dep>org.jgroups.kubernetes:jgroups-kubernetes</dep>
<dep>org.postgresql:postgresql</dep>
<dep>com.google.guava:guava</dep>
<dep>org.everrest:everrest-core</dep>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,30 @@
send_buf_size="1M"
max_bundle_size="64K"
enable_diagnostics="true"
log_discard_msgs="false"
thread_naming_pattern="cl"

thread_pool.min_threads="0"
thread_pool.max_threads="500"
thread_pool.keep_alive_time="30000" />

<kubernetes.KUBE_PING
labels="app=che" />
<org.jgroups.protocols.kubernetes.KUBE_PING
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What the source of this file? Does it come from documentation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

port_range="3"
namespace="${KUBERNETES_NAMESPACE:che}"
labels="${KUBERNETES_LABEL:app=che,component=che}"
/>

<MERGE2 min_interval="10000"
<MERGE3 min_interval="10000"
max_interval="30000"/>
<FD_SOCK/>
<FD timeout="3000" max_tries="3"/>
<VERIFY_SUSPECT timeout="1500"/>
<BARRIER/>
<pbcast.NAKACK2 use_mcast_xmit="false"
discard_delivered_msgs="true"/>
<UNICAST/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
max_bytes="4M"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"

view_bundling="true"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000" />
<MFC max_credits="2M"
min_threshold="0.4"/>
<FRAG2 frag_size="60K"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public class JGroupsWorkspaceStatusCache implements WorkspaceStatusCache {
@Inject
public JGroupsWorkspaceStatusCache(@Named("jgroups.config.file") String confFile) {
try {
JChannel channel = new JChannel(confFile);
channel.connect(CHANNEL_NAME);
JChannel channel = new JChannel(confFile).connect(CHANNEL_NAME);
delegate = new ReplicatedHashMap<>(channel);
delegate.setBlockingUpdates(true);
delegate.start(5000);
Expand Down