This is an automated email from the ASF dual-hosted git repository.
dragonyliu pushed a change to branch branch-2
in repository https://gitbox.apache.org/repos/asf/ratis.git
from 533ea8293 RATIS-1684. Upgrade Ratis Thirdparty to 1.0.2 (#723)
new 7a4543b1c RATIS-1677. Do not auto format RaftStorage in RECOVER. (#718)
new e5817bc2e RATIS-1690. Disable fail-fast for unit check (#726)
new 1374a6569 RATIS-1687. Make SetConfigurationRequest backwards
compatible (#725)
new 343ed28ae RATIS-1671. Add manual trigger snapshot (#712)
new 3ce2c5949 RATIS-1691. Potential deadlock in server shutdown (#729)
The 5 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 | 2 +-
.../ratis/client/api/GroupManagementApi.java | 12 +-
.../apache/ratis/client/impl/ClientProtoUtils.java | 9 +-
.../ratis/client/impl/GroupManagementImpl.java | 4 +-
.../ratis/protocol/GroupManagementRequest.java | 13 +-
.../ratis/protocol/SetConfigurationRequest.java | 25 ++++
...dSupplier.java => MemoizedCheckedSupplier.java} | 45 +++---
.../java/org/apache/ratis/util/Preconditions.java | 5 +
.../java/org/apache/ratis/util/SizeInBytes.java | 1 +
.../apache/ratis/grpc/server/GrpcLogAppender.java | 9 +-
ratis-proto/src/main/proto/Raft.proto | 1 +
.../java/org/apache/ratis/server/RaftServer.java | 16 ++-
.../apache/ratis/server/leader/LogAppender.java | 3 +
.../apache/ratis/server/storage/RaftStorage.java | 5 +-
.../apache/ratis/server/impl/RaftServerImpl.java | 9 +-
.../apache/ratis/server/impl/RaftServerProxy.java | 38 ++---
.../apache/ratis/server/impl/ServerImplUtils.java | 5 +-
.../org/apache/ratis/server/impl/ServerState.java | 128 ++++++-----------
.../ratis/server/leader/LogAppenderBase.java | 26 ++++
.../ratis/server/leader/LogAppenderDefault.java | 1 +
.../server/storage/RaftStorageDirectoryImpl.java | 7 +-
.../ratis/server/storage/RaftStorageImpl.java | 10 +-
.../ratis/server/storage/SnapshotManager.java | 12 +-
.../ratis/server/storage/StorageImplUtils.java | 160 ++++++++++++++++++---
.../apache/ratis/server/impl/MiniRaftCluster.java | 6 +-
.../server/impl/RaftReconfigurationBaseTest.java | 4 +-
.../ratis/server/storage/TestRaftStorage.java | 6 +-
.../TestStorageImplUtils.java} | 27 ++--
28 files changed, 388 insertions(+), 201 deletions(-)
copy ratis-common/src/main/java/org/apache/ratis/util/{MemoizedSupplier.java
=> MemoizedCheckedSupplier.java} (53%)
rename
ratis-test/src/test/java/org/apache/ratis/server/{impl/TestServerState.java =>
storage/TestStorageImplUtils.java} (82%)