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
Introduce a flow control to fix exponential backoff behaviour for CP subsystem [HZ-2702] #25055
Conversation
run-lab-run |
run-ee-tests |
…subsystem [HZ-2702] Introduce a flowControlSequenceNumber into Append/InstallSnapshot requests and responses, to perform matching between them. Added flowControlSequenceNumber to Append/InstallSnapshot requests and responses to perform matching between them. This allows reset the backoff only for the corresponding request. Fix hazelcast#24958
run-ee-tests |
run-ee-tests |
run-ee-tests |
The job Click to expand the log file-------------------------- -------TEST FAILURE------- -------------------------- [INFO] Results: [INFO] [ERROR] Failures: [ERROR] FailoverTest.testFailover_clientDoesNotTryMemberListAfterSwitch:330->HazelcastTestSupport.assertTrueAllTheTime:1143->lambda$testFailover_clientDoesNotTryMemberListAfterSwitch$6:331 expected:<3> but was:<4> [ERROR] Errors: [ERROR] PartitionCompactorTest.test_partition_compactor_runs_on_owner_and_backup:82 ? TestTimedOut test timed out after 300000 milliseconds [INFO] [ERROR] Tests run: 11175, Failures: 1, Errors: 1, Skipped: 108 [INFO] |
run-ee-tests |
run-ee-tests |
1 similar comment
run-ee-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice job!
hazelcast/src/test/java/com/hazelcast/cp/internal/raft/impl/state/FollowerStateTest.java
Outdated
Show resolved
Hide resolved
hazelcast/src/main/java/com/hazelcast/cp/internal/raft/impl/state/FollowerState.java
Show resolved
Hide resolved
hazelcast/src/main/java/com/hazelcast/cp/internal/raft/impl/dto/AppendFailureResponse.java
Outdated
Show resolved
Hide resolved
The job Click to expand the log file-------------------------- -------TEST FAILURE------- -------------------------- [INFO] Results: [INFO] [ERROR] Failures: [ERROR] MemberJmxMetricsTest.testNoMBeanLeak:64 expected:<0> but was:<1> [INFO] [ERROR] Tests run: 4659, Failures: 1, Errors: 0, Skipped: 11 [INFO] [WARNING] Corrupted channel by directly writing to native stream in forked JVM 8. See FAQ web page and the dump file /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/target/surefire-reports/2023-07-25T11-10-53_278-jvmRun8.dumpstream |
run-lab-run |
…subsystem [HZ-2702] [5.3.z] (hazelcast#25055) Added `flowControlSequenceNumber` to Append/InstallSnapshot requests and responses to perform matching between them. This allows reset the backoff only for the corresponding request. Fixes hazelcast#24958 Breaking changes (list specific methods/types/messages): * `AppendRequest`, `InstallSnapshot`, `AppendSuccessResponse`,`AppendFailureResponse` (cherry picked from commit 8e3ffce)
…subsystem [HZ-2702] [5.3.z] (#25055) (#25074) Added `flowControlSequenceNumber` to Append/InstallSnapshot requests and responses to perform matching between them. This allows reset the backoff only for the corresponding request. Fixes #24958 Breaking changes (list specific methods/types/messages): * `AppendRequest`, `InstallSnapshot`, `AppendSuccessResponse`,`AppendFailureResponse` (cherry picked from commit 8e3ffce) Backport of: #25055
Added
flowControlSequenceNumber
to Append/InstallSnapshot requests and responses to perform matching between them.This allows reset the backoff only for the corresponding request.
Fixes #24958
Breaking changes (list specific methods/types/messages):
AppendRequest
,InstallSnapshot
,AppendSuccessResponse
,AppendFailureResponse
Checklist:
Team:
,Type:
,Source:
,Module:
) and Milestone setAdd to Release Notes
orNot Release Notes content
set@Nonnull/@Nullable
annotations@since
tags in Javadoc