This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a change to branch branch-2
in repository https://gitbox.apache.org/repos/asf/ratis.git
from afd33f77 RATIS-1584. Check if the group is empty in RaftClientImpl.
(#648)
new afba5daf RATIS-1587. Fix snapshot multi-chunk bug & support snapshot
hierarchy (#655)
new e5e0a84b RATIS-1582. Add notify install snapshot finished event to
inform the (#647)
new e874eefe RATIS-1589. Get ratis-shell resource from bin tarball (#656)
new 4c68f568 RATIS-1590. Include the new log index in Watch reply. (#657)
new c9b2be6d RATIS-1588. Add a builder of RaftStorageImpl (#652)
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:
ratis-assembly/src/main/assembly/bin.xml | 24 +++
.../java/org/apache/ratis/client/api/AsyncApi.java | 3 +
.../org/apache/ratis/client/api/BlockingApi.java | 3 +
.../main/java/org/apache/ratis/util/IOUtils.java | 17 +-
ratis-docs/content/cli.md | 25 ++-
.../apache/ratis/grpc/client/GrpcClientRpc.java | 2 +-
.../apache/ratis/grpc/server/GrpcLogAppender.java | 18 +++
ratis-proto/src/main/proto/Grpc.proto | 2 +-
.../apache/ratis/server/storage/RaftStorage.java | 80 ++++++++++
.../apache/ratis/statemachine/StateMachine.java | 21 +--
.../apache/ratis/server/impl/LeaderStateImpl.java | 2 +-
.../apache/ratis/server/impl/RaftServerImpl.java | 5 +
.../org/apache/ratis/server/impl/ServerState.java | 8 +-
.../server/impl/SnapshotInstallationHandler.java | 11 ++
.../apache/ratis/server/impl/WatchRequests.java | 29 ++--
.../ratis/server/storage/RaftStorageImpl.java | 10 --
.../ratis/server/storage/SnapshotManager.java | 11 +-
.../ratis/server/storage/StorageImplUtils.java | 56 +++++++
.../ratis/InstallSnapshotFromLeaderTests.java | 175 +++++++++++++++++++++
.../ratis/InstallSnapshotNotificationTests.java | 129 ++++++++++++++-
.../java/org/apache/ratis/WatchRequestTests.java | 7 +-
.../ratis/server/storage/RaftStorageTestUtils.java | 7 +-
...ithGrpc.java => TestLeaderInstallSnapshot.java} | 9 +-
.../apache/ratis/grpc/TestRaftServerWithGrpc.java | 10 +-
.../ratis/server/storage/TestRaftStorage.java | 14 +-
25 files changed, 613 insertions(+), 65 deletions(-)
create mode 100644
ratis-server/src/main/java/org/apache/ratis/server/storage/StorageImplUtils.java
create mode 100644
ratis-server/src/test/java/org/apache/ratis/InstallSnapshotFromLeaderTests.java
copy
ratis-test/src/test/java/org/apache/ratis/grpc/{TestGroupInfoWithGrpc.java =>
TestLeaderInstallSnapshot.java} (80%)