Thanks to visit codestin.com
Credit goes to github.com

Skip to content

State transfer never completes #21256

@martin-kanis

Description

@martin-kanis

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

storage

Describe the bug

In #21240 we made awaitInitialTransfer configurable to fix a flaky model test. The root case of this problem is tracked by ISPN jira https://issues.redhat.com/browse/ISPN-14982.

Once the ISPN jira is resolved and root cause is found, we should investigate if any further steps are needed on Keycloak side.

Version

21.1.1

Expected behavior

Initial state transfer never timeouts

Actual behavior

Initial state transfer timeouts in a model test in ~1 from 100 runs.

How to Reproduce?

taskset 1 for run in {1..20}; do mvn test -f testsuite/model/pom.xml -Plegacy-jpa+infinispan-offline-sessions-preloading -Dkeycloak.logging.level=debug -Dtest=OfflineSessionPersistenceTest; done > out

or run

mvn test -f testsuite/model/pom.xml -Plegacy-jpa+infinispan-offline-sessions-preloading -Dkeycloak.logging.level=debug -Dtest=OfflineSessionPersistenceTest

100 times

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infinispanarea/storageIndicates an issue that touches storage (change in data layout or data manipulation)kind/bugCategorizes a PR related to a bug

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions