You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Donal Evans (Jira)" <ji...@apache.org> on 2020/02/25 22:45:00 UTC

[jira] [Updated] (GEODE-7817) Server creation hangs when async-distribution-timeout is set on JDK11

     [ https://issues.apache.org/jira/browse/GEODE-7817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donal Evans updated GEODE-7817:
-------------------------------
    Description: 
Following the changes introduced in [https://github.com/apache/geode/pull/4629], hangs are frequently observed when starting more than one server configured with an async-distribution-timeout when running on JDK 11.

A test to reproduce the issue is provided below:
{code:java}
public class ConnectionChangeHangTest {
  int serversToStart = 3;

  @Rule
  public ClusterStartupRule cluster = new ClusterStartupRule(serversToStart + 1);

  @Test
  /*
   * This test must be run with JDK 11 for it to show the hang
   */
  public void test() {
    MemberVM locator = cluster.startLocatorVM(0);
    int locatorPort = locator.getPort();

    for (int i = 0; i < serversToStart; ++i) {
      cluster.startServerVM(i + 1, s -> s.withConnectionToLocator(locatorPort)
          .withProperty("async-distribution-timeout", "5"));
    }
  }
}
{code}

  was:Following the changes introduced in [https://github.com/apache/geode/pull/4629], hangs are frequently observed when starting more than one server configured with an async-distribution-timeout when running on JDK 11.


> Server creation hangs when async-distribution-timeout is set on JDK11
> ---------------------------------------------------------------------
>
>                 Key: GEODE-7817
>                 URL: https://issues.apache.org/jira/browse/GEODE-7817
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Donal Evans
>            Priority: Major
>
> Following the changes introduced in [https://github.com/apache/geode/pull/4629], hangs are frequently observed when starting more than one server configured with an async-distribution-timeout when running on JDK 11.
> A test to reproduce the issue is provided below:
> {code:java}
> public class ConnectionChangeHangTest {
>   int serversToStart = 3;
>   @Rule
>   public ClusterStartupRule cluster = new ClusterStartupRule(serversToStart + 1);
>   @Test
>   /*
>    * This test must be run with JDK 11 for it to show the hang
>    */
>   public void test() {
>     MemberVM locator = cluster.startLocatorVM(0);
>     int locatorPort = locator.getPort();
>     for (int i = 0; i < serversToStart; ++i) {
>       cluster.startServerVM(i + 1, s -> s.withConnectionToLocator(locatorPort)
>           .withProperty("async-distribution-timeout", "5"));
>     }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)