This is an automated email from the ASF dual-hosted git repository.

tanxinyu pushed a change to branch snapshot-3
in repository https://gitbox.apache.org/repos/asf/ratis.git


 discard 964e3caf2 release 3.1.1-0133c90-SNAPSHOT
 discard 0133c90a7 RATIS-2140. Thread wait when installing snapshot. (#1137)
 discard 5f5f34c35 RATIS-2144. SegmentedRaftLogWorker should close the stream 
before releasing the buffer. (#1138)
 discard cbdfe6314 RATIS-2138 Remove uncessary error log in JVMPauseMonitor 
When GC is serious (#1133)
 discard 303da68d9 RATIS-2135. The leader keeps sending inconsistent entries 
repeatedly to followers. (#1132)
 discard 40cfa13ab RATIS-2136 Fixed the issue that RatisServer could not start 
after frequent restarts (#1131)
    omit 89062974c Change version for the version 3.1.0 -rc2
     add 7159c5943 ./mvnw versions:set -DnewVersion=3.1.1-SNAPSHOT
     add ce6838a5d RATIS-2095. Extract common logic of ratis-shell to RaftUtils 
for reuse (#1098)
     add f2ab7d51d RATIS-2110. Publish SBOM artifacts (#1110)
     add 54e6fee7c RATIS-2117. No need for manual assembly:single execution 
(#1115)
     add 8383845dd RATIS-2118. Improve assembly process (#1117)
     add 76fb1a316 RATIS-2121. Set javac --release when compiling with JDK 9+ 
(#1119)
     add 6390a28bd RATIS-2116. Fix the issue where RaftServerImpl.appendEntries 
may be blocked indefinitely (#1116)
     add cfb95777f RATIS-1840. Avoid including build timestamp in artifacts 
(#1114)
     add 054cfb707 RATIS-2125. javadoc jars should not include non-doc items 
(#1123)
     add 53b80c6dc RATIS-1071. NettyClientRpc supports sendRequestAsync. 
Contributed by Rui Wang and Tsz-Wo Nicholas Sze. (#1122)
     add 6a6caa270 RATIS-2131. Surround with [] only if hostName is a IPv6 
string (#1125)
     add 443436455 RATIS-2126. Optimize NotLeaderException message (#1124)
     add 1ff10882b RATIS-2133. Ignore http proxy for ratis grpc client & server 
(#1128)
     add bd154742c RATIS-2104. Double shutdown in TestLeaderInstallSnapshot. 
(#1108)
     add 49f1247a0 RATIS-2134. `logMetadata` could miss appending the 
`metadataEntry` with the lastCommitIndex (#1130)
     add 5946796d5 RATIS-2136 Fixed the issue that RatisServer could not start 
after frequent restarts (#1131)
     add 58327e26c RATIS-2115. Fix flaky RetryCacheTests and 
InstallSnapshotFromLeaderTests. (#1129)
     add a78e6e2df RATIS-2135. The leader keeps sending inconsistent entries 
repeatedly to followers. (#1132)
     add d3fa63b5e RATIS-2138 Remove uncessary error log in JVMPauseMonitor 
When GC is serious (#1133)
     add 94692f3cb RATIS-2139. Fix checkstyle:ParameterNumber in GrpcService. 
(#1134)
     add 099d23f25 RATIS-2137. Fix LogAppenderDefault in handling of 
INCONSISTENCY. (#1136)
     add 557675f12 RATIS-2144. SegmentedRaftLogWorker should close the stream 
before releasing the buffer. (#1138)
     add 2e7cb458c RATIS-2140. Thread wait when installing snapshot. (#1137)
     add fc89b0405 RATIS-2113. Use consistent method names and parameter types 
in RaftUtils. (#1135)
     add cdfd4f10d Revert "RATIS-1983. Refactor client request processing to 
support reference count. (#998)"
     add 6aa7349e9 Revert "RATIS-2101. Move TermIndex.PRIVATE_CACHE to 
Util.CACHE (#1103)"
     add d621c14ef Revert "RATIS-2099. Cache TermIndexImpl instead of using 
anonymous class (#1100)"
     add 5b8a74fc2 RATIS-2145. Follower hangs until the next trigger to take a 
snapshot. (#1139)
     add 211278e56 RATIS-2146. Fixed possible issues caused by concurrent 
deletion and election when member changes (#1140)
     add fc61d9650 Change version for the version 3.1.1 -rc2
     add 342688de9 RATIS-2153. ratis-version.properties missing from src bundle 
(#1147)
     add 1e10b7186 RATIS-2149.Do not perform leader election if the current 
RaftServer has not started yet (#1143)
     add 54a991623 RATIS-2148. Snapshot transfer may cause followers to trigger 
reloadStateMachine incorrectly (#1145)
     add 5578be7fb RATIS-2154. The old leader may send appendEntries after term 
changed. (#1148)
     add f23f9b7c1 RATIS-2152. GrpcLogAppender stucks while sending an 
installSnapshot notification request (#1146)
     add 356ad8a27 RATIS-2150. No need for manual assembly:single execution 
when mvn deploy #1144
     add 5a470a2b2 RATIS-2147. Md5 mismatch when snapshot install (#1142)
     add 313c51a13 RATIS-2157 Enhance make_rc.sh for non-first rc at release 
time #1149
     add fd260d8fd RATIS-2155. Add a builder for RatisShell. (#1150)
     add d7709da87 RATIS-2158. Let the snapshot sender and receiver use a new 
digester each time (#1151)
     add 45a30d890 Change version for the version 3.1.1 -rc3
     new 3021c0244 RATIS-2160. MetricRegistriesLoader should not print INFO 
message in CLI. (#1152)
     new d8482f1f0 RATIS-2162. When closing leaderState, if the logAppender 
thread sends a snapshot, a deadlock may occur. (#1154)
     new 5d1a5ea93 RATIS-2165. Do not include RaftClientRequest Message in 
ReadIndexRequest (#1160)
     new 536419c50 RATIS-2166. Update nextChunkIndex when snapshot is 
ALREADY_INSTALLED (#1159)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (964e3caf2)
            \
             N -- N -- N   refs/heads/snapshot-3 (536419c50)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 4 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:
 .github/workflows/post-commit.yml                  |  14 +-
 dev-support/checks/{build.sh => repro.sh}          |   2 +-
 dev-support/make_rc.sh                             |  14 +-
 pom.xml                                            | 104 ++++++---
 ratis-assembly/pom.xml                             |  13 +-
 ratis-assembly/src/main/assembly/bin-pkg.xml       |  43 ----
 ratis-assembly/src/main/assembly/bin.xml           |  67 +++++-
 ratis-assembly/src/main/assembly/examples-bin.xml  |  73 ------
 ratis-assembly/src/main/assembly/shell-bin.xml     |  61 -----
 ratis-assembly/src/main/assembly/src.xml           |   2 +
 ratis-client/pom.xml                               |   2 +-
 .../apache/ratis/client/impl/ClientProtoUtils.java |   6 +-
 ratis-common/pom.xml                               |   2 +-
 .../src/main/java/org/apache/ratis/io/MD5Hash.java |   8 +-
 .../protocol/RaftClientAsynchronousProtocol.java   |  34 +--
 .../protocol/exceptions/NotLeaderException.java    |   3 +-
 .../org/apache/ratis/util/DataBlockingQueue.java   |   7 +
 .../main/java/org/apache/ratis/util/DataQueue.java |   5 +
 .../main/java/org/apache/ratis/util/NetUtils.java  |  10 +-
 .../apache/ratis/util/ReferenceCountedObject.java  |  24 --
 ratis-docs/pom.xml                                 |   2 +-
 ratis-examples/pom.xml                             |   2 +-
 .../examples/filestore/FileStoreStateMachine.java  |  18 +-
 ratis-experiments/pom.xml                          |   2 +-
 ratis-grpc/pom.xml                                 |   2 +-
 .../grpc/client/GrpcClientProtocolClient.java      |   3 +
 .../apache/ratis/grpc/server/GrpcLogAppender.java  |  40 ++--
 .../grpc/server/GrpcServerProtocolClient.java      |   2 +
 .../org/apache/ratis/grpc/server/GrpcService.java  | 257 ++++++++++++---------
 .../apache/ratis/grpc/MiniRaftClusterWithGrpc.java |   6 +-
 ratis-metrics-api/pom.xml                          |   2 +-
 .../ratis/metrics/MetricRegistriesLoader.java      |  37 ++-
 ratis-metrics-default/pom.xml                      |   2 +-
 .../ratis/metrics/TestMetricRegistriesLoader.java  |   6 +
 ratis-metrics-dropwizard3/pom.xml                  |   2 +-
 ratis-netty/pom.xml                                |   2 +-
 .../java/org/apache/ratis/netty/NettyRpcProxy.java |   6 +
 .../apache/ratis/netty/client/NettyClientRpc.java  |  67 ++++--
 ratis-proto/pom.xml                                |   2 +-
 ratis-replicated-map/pom.xml                       |   2 +-
 ratis-resource-bundle/pom.xml                      |   2 +-
 ratis-server-api/pom.xml                           |   2 +-
 .../apache/ratis/server/protocol/TermIndex.java    |  18 +-
 .../ratis/statemachine/TransactionContext.java     |   8 -
 ratis-server/pom.xml                               |   2 +-
 .../ratis/server/impl/ConfigurationManager.java    |  10 +-
 .../apache/ratis/server/impl/FollowerState.java    |  14 +-
 .../apache/ratis/server/impl/LeaderElection.java   |  18 +-
 .../apache/ratis/server/impl/LeaderStateImpl.java  |  24 +-
 .../apache/ratis/server/impl/RaftServerImpl.java   | 132 +++++------
 .../apache/ratis/server/impl/RaftServerProxy.java  |  13 +-
 .../org/apache/ratis/server/impl/RoleInfo.java     |  26 +--
 .../apache/ratis/server/impl/ServerProtoUtils.java |   2 +-
 .../server/impl/SnapshotInstallationHandler.java   |  14 ++
 .../ratis/server/leader/LogAppenderBase.java       |   2 +-
 .../ratis/server/leader/LogAppenderDefault.java    |  23 +-
 .../apache/ratis/server/raftlog/RaftLogBase.java   |  17 +-
 .../ratis/server/raftlog/segmented/LogSegment.java | 132 ++++-------
 .../server/raftlog/segmented/SegmentedRaftLog.java |  19 +-
 .../raftlog/segmented/SegmentedRaftLogCache.java   |   5 +-
 .../raftlog/segmented/SegmentedRaftLogWorker.java  |  14 +-
 .../ratis/server/storage/FileChunkReader.java      |   2 +-
 .../ratis/server/storage/SnapshotManager.java      |  10 +-
 .../statemachine/impl/TransactionContextImpl.java  |  18 --
 .../ratis/InstallSnapshotFromLeaderTests.java      | 165 +++++++------
 .../java/org/apache/ratis/RetryCacheTests.java     |   6 +-
 ratis-shell/pom.xml                                |   2 +-
 .../java/org/apache/ratis/shell/cli/CliUtils.java  | 177 ++++++++++++++
 .../java/org/apache/ratis/shell/cli/RaftUtils.java |  89 -------
 .../org/apache/ratis/shell/cli/sh/RatisShell.java  |  44 +++-
 .../shell/cli/sh/command/AbstractCommand.java      |  23 +-
 .../shell/cli/sh/command/AbstractRatisCommand.java | 107 +++------
 .../apache/ratis/shell/cli/sh/command/Context.java |  69 ++++++
 .../ratis/shell/cli/sh/election/PauseCommand.java  |   3 +-
 .../ratis/shell/cli/sh/election/ResumeCommand.java |   3 +-
 .../shell/cli/sh/election/StepDownCommand.java     |   3 +-
 .../shell/cli/sh/election/TransferCommand.java     |   3 +-
 .../ratis/shell/cli/sh/group/GroupListCommand.java |   8 +-
 .../shell/cli/sh/local/RaftMetaConfCommand.java    |   6 +-
 .../apache/ratis/shell/cli/sh/peer/AddCommand.java |  13 +-
 .../ratis/shell/cli/sh/peer/RemoveCommand.java     |   3 +-
 .../shell/cli/sh/peer/SetPriorityCommand.java      |   3 +-
 .../shell/cli/sh/snapshot/TakeSnapshotCommand.java |   3 +-
 ratis-test/pom.xml                                 |   2 +-
 ...java => TestLeaderInstallSnapshotWithGrpc.java} |   4 +-
 ...rWithNetty.java => TestRaftAsyncWithNetty.java} |   8 +-
 .../apache/ratis/security/SecurityTestUtils.java   |  17 ++
 .../server/raftlog/segmented/TestLogSegment.java   |  24 +-
 .../raftlog/segmented/TestSegmentedRaftLog.java    |  84 +++++++
 .../segmented/TestSegmentedRaftLogCache.java       |  12 +-
 .../ratis/shell/cli/sh/TestSecureRatisShell.java   | 123 ++++++++++
 ratis-tools/pom.xml                                |   2 +-
 .../java/org/apache/ratis/tools/ParseRatisLog.java |   7 +-
 .../main/resources/ratis-version.properties        |   6 +-
 94 files changed, 1373 insertions(+), 1129 deletions(-)
 copy dev-support/checks/{build.sh => repro.sh} (95%)
 delete mode 100644 ratis-assembly/src/main/assembly/bin-pkg.xml
 delete mode 100644 ratis-assembly/src/main/assembly/examples-bin.xml
 delete mode 100644 ratis-assembly/src/main/assembly/shell-bin.xml
 create mode 100644 
ratis-shell/src/main/java/org/apache/ratis/shell/cli/CliUtils.java
 delete mode 100644 
ratis-shell/src/main/java/org/apache/ratis/shell/cli/RaftUtils.java
 rename 
ratis-test/src/test/java/org/apache/ratis/grpc/{TestLeaderInstallSnapshot.java 
=> TestLeaderInstallSnapshotWithGrpc.java} (97%)
 copy 
ratis-test/src/test/java/org/apache/ratis/netty/{TestLogAppenderWithNetty.java 
=> TestRaftAsyncWithNetty.java} (86%)
 create mode 100644 
ratis-test/src/test/java/org/apache/ratis/shell/cli/sh/TestSecureRatisShell.java
 copy 
ratis-metrics-default/src/main/resources/META-INF/services/org.apache.ratis.metrics.MetricRegistries
 => src/main/resources/ratis-version.properties (84%)

Reply via email to