This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a change to branch branch-2_readIndex
in repository https://gitbox.apache.org/repos/asf/ratis.git
from cfd342044 RATIS-1802. GrpcServerProtocolService encounters
IllegalStateException: call already closed. (#839)
new 08dc58fcb RATIS-1807. Support timeout in gRPC. (#842)
new 252446070 RATIS-1811. Improve StreamObserver's log messages (#849)
new 1c500bbaf RATIS-1810. Intermittent failure in
TestRaftServerWithGrpc#testRaftClientMetrics (#847)
new 3ed7c481c RATIS-1808. Rerun PreVote when Vote is timed out (#846)
new 70fe68f0d RATIS-1815. GitHub: Enable autolink to Jira (#853)
new 5d9e4b538 RATIS-1813. Allow ratis-shell to run in JDK 8+ (#851)
new ee8aef255 RATIS-1796. Fix TransferLeadership stopped by heartbeat from
old leader (#844)
new 2fc1c83a6 RATIS-1814: The group info command of the Ratis shell does
not show the listener (#852)
new 5a996a42f RATIS-1812. Enforce a outstanding request limit in
StreamObserverWithTimeout. (#850)
new 80617d4bb RATIS-1809. Use separated timeout for GrpcLogAppender's
streaming RPC (#848)
new e20a2e83b RATIS-1816. appendEntryTimer is not accurate due to the
return of writeFuture (#855)
new f0d9d566e RATIS-1770. Yield leader to higher priority peer by
TransferLeadership (#845)
new c727be372 RATIS-1795. Add and distribute a Maven Wrapper (#856)
new f50965d56 RATIS-1817. Do not send StartLeaderElection when
leaderLastEntry is null (#857)
new 649e5fef2 RATIS-1819. Use Maven Wrapper in CI workflows (#859)
new c19db251d RATIS-1820. Update apache parent pom version and other
versions. (#861)
new 14ae143fb RATIS-1662. Intermittent failure in testEnforceLeader (#860)
new 42c3c6ba4 RATIS-1821. Upgrade ratis-thirdparty version to 1.0.4 (#862)
The 18 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.asf.yaml | 1 +
.gitignore | 1 +
.mvn/wrapper/maven-wrapper.properties | 18 ++
BUILDING.md | 6 +-
dev-support/checks/_mvn_unit_report.sh | 2 +-
dev-support/checks/build.sh | 4 +-
dev-support/checks/checkstyle.sh | 6 +-
dev-support/checks/findbugs.sh | 6 +-
dev-support/checks/rat.sh | 4 +-
dev-support/checks/sonar.sh | 5 +-
dev-support/checks/unit.sh | 4 +-
.../install-runconfig.sh => find_maven.sh} | 20 +-
dev-support/make_rc.sh | 10 +-
dev-support/run-test-repeatedly.sh | 6 +-
mvnw | 308 +++++++++++++++++++++
mvnw.cmd | 205 ++++++++++++++
pom.xml | 51 ++--
ratis-assembly/pom.xml | 1 +
ratis-assembly/src/main/assembly/src.xml | 10 +
.../org/apache/ratis/client/DataStreamClient.java | 2 +-
.../java/org/apache/ratis/client/RaftClient.java | 2 +-
.../org/apache/ratis/protocol/RoutingTable.java | 2 +-
.../java/org/apache/ratis/retry/RetryPolicies.java | 6 +-
.../main/java/org/apache/ratis/util/ExitUtils.java | 2 +-
.../org/apache/ratis/util/ResourceSemaphore.java | 28 +-
ratis-examples/pom.xml | 5 +
.../examples/arithmetic/expression/Expression.java | 6 +-
.../java/org/apache/ratis/grpc/GrpcConfigKeys.java | 38 ++-
.../apache/ratis/grpc/server/GrpcLogAppender.java | 13 +-
.../grpc/server/GrpcServerProtocolClient.java | 7 +-
.../grpc/server/GrpcServerProtocolService.java | 2 +-
.../grpc/util/ResponseNotifyClientInterceptor.java | 72 +++++
.../ratis/grpc/util/StreamObserverWithTimeout.java | 122 ++++++++
.../src/main/proto/Test.proto | 25 +-
.../apache/ratis/server/impl/LeaderElection.java | 95 ++++---
.../apache/ratis/server/impl/LeaderStateImpl.java | 68 ++---
.../apache/ratis/server/impl/PendingRequests.java | 17 +-
.../apache/ratis/server/impl/RaftServerImpl.java | 20 +-
.../org/apache/ratis/server/impl/ServerState.java | 1 -
.../ratis/server/impl/TransferLeadership.java | 239 +++++++++++++---
.../server/leader/InstallSnapshotRequests.java | 2 +-
.../server/metrics/SegmentedRaftLogMetrics.java | 4 +-
.../server/raftlog/segmented/SegmentedRaftLog.java | 5 +-
.../ratis/server/impl/LeaderElectionTests.java | 5 +-
.../MiniRaftClusterWithSimulatedRpc.java | 2 +-
.../shell/cli/sh/election/TransferCommand.java | 8 +-
ratis-shell/src/main/libexec/ratis-shell-config.sh | 10 +-
ratis-test/pom.xml | 4 +
.../apache/ratis/grpc/TestRaftServerWithGrpc.java | 22 +-
.../org/apache/ratis/grpc/util/GrpcTestClient.java | 123 ++++++++
.../org/apache/ratis/grpc/util/GrpcTestServer.java | 108 ++++++++
.../grpc/util/TestStreamObserverWithTimeout.java | 119 ++++++++
.../apache/ratis/util/TestResourceSemaphore.java | 13 +-
53 files changed, 1590 insertions(+), 275 deletions(-)
create mode 100644 .mvn/wrapper/maven-wrapper.properties
copy dev-support/{intellij/install-runconfig.sh => find_maven.sh} (73%)
create mode 100755 mvnw
create mode 100644 mvnw.cmd
create mode 100644
ratis-grpc/src/main/java/org/apache/ratis/grpc/util/ResponseNotifyClientInterceptor.java
create mode 100644
ratis-grpc/src/main/java/org/apache/ratis/grpc/util/StreamObserverWithTimeout.java
copy ratis-experiments/src/main/flatbufs/FileTransfer.fbs =>
ratis-proto/src/main/proto/Test.proto (69%)
create mode 100644
ratis-test/src/test/java/org/apache/ratis/grpc/util/GrpcTestClient.java
create mode 100644
ratis-test/src/test/java/org/apache/ratis/grpc/util/GrpcTestServer.java
create mode 100644
ratis-test/src/test/java/org/apache/ratis/grpc/util/TestStreamObserverWithTimeout.java