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 e47d1119e RATIS-1739. Upgrade Ratis Thirdparty to 1.0.3 (#777)
new 80d56c9a3 RATIS-1702. Make listener reject leader election (#739)
new d770b0791 RATIS-1698. Add unit-test of listener related to
leaderElection (#737)
new aa43e3252 RATIS-1647. Fix EI_EXPOSE_REP in DataStreamRequest
implementations (#716)
new c6892d13e RATIS-1658. Prepare unit check for running some tests
repeatedly (#704)
new 7e1055ed7 RATIS-1651. Fix NP_NULL_PARAM_DEREF in
GrpcServerProtocolService (#761)
new a0b14ecbe RATIS-1714. Support unordered async read. (#755)
new 9dac51925 RATIS-1725. Update github actions for node16 (#764)
new d8cf2bd89 RATIS-1157. Buffer packets when the size of packets are too
small. (#748)
new c5cc5a742 RATIS-1727. Rename GrpcConfigKeys hearbeatChannel
'useCached' to 'useSeparate' (#767)
new 2fe4d0fb1 RATIS-1340. Discovery of Bash source path is incompatible
with CDPATH. (#772)
The 10 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 | 54 +++++-----
dev-support/checks/_mvn_unit_report.sh | 38 ++++---
dev-support/checks/unit.sh | 41 ++++++--
.../apache/ratis/client/RaftClientConfigKeys.java | 22 +++-
.../java/org/apache/ratis/client/api/AsyncApi.java | 20 +++-
.../org/apache/ratis/client/api/BlockingApi.java | 4 +-
.../apache/ratis/client/api/DataStreamOutput.java | 14 ++-
.../org/apache/ratis/client/impl/AsyncImpl.java | 7 +-
.../ratis/client/impl/DataStreamClientImpl.java | 14 +--
.../ratis/client/impl/OrderedStreamAsync.java | 2 +-
.../apache/ratis/client/impl/UnorderedAsync.java | 7 +-
.../impl/DataStreamRequestByteBuffer.java | 11 +-
.../impl/DataStreamRequestFilePositionCount.java | 12 +--
.../org/apache/ratis/io/StandardWriteOption.java | 4 +-
.../main/java/org/apache/ratis/io/WriteOption.java | 12 ++-
.../apache/ratis/protocol/DataStreamRequest.java | 9 +-
.../ratis/protocol/DataStreamRequestHeader.java | 18 ++--
.../java/org/apache/ratis/protocol/Message.java | 5 +
.../java/org/apache/ratis/util/SizeInBytes.java | 1 +
ratis-examples/src/main/bin/client.sh | 2 +-
ratis-examples/src/main/bin/common.sh | 2 +-
ratis-examples/src/main/bin/server.sh | 2 +-
ratis-examples/src/main/bin/start-all.sh | 2 +-
.../apache/ratis/examples/filestore/FileInfo.java | 18 ++++
.../apache/ratis/examples/filestore/FileStore.java | 33 ++++--
.../ratis/examples/filestore/FileStoreClient.java | 53 +++++++---
.../examples/filestore/FileStoreStateMachine.java | 3 +-
.../examples/filestore/FileStoreBaseTest.java | 112 +++++++++++++++++----
.../examples/filestore/TestFileStoreWithGrpc.java | 2 +-
.../examples/filestore/TestFileStoreWithNetty.java | 7 +-
ratis-experiments/scripts/flatbuf-compile.sh | 2 +-
.../java/org/apache/ratis/grpc/GrpcConfigKeys.java | 4 +-
.../grpc/server/GrpcServerProtocolService.java | 2 -
.../apache/ratis/netty/NettyDataStreamUtils.java | 11 +-
.../ratis/netty/client/NettyClientStreamRpc.java | 66 +++++++++++-
.../ratis/netty/server/DataStreamManagement.java | 16 +--
.../netty/server/DataStreamRequestByteBuf.java | 23 +++--
ratis-proto/src/main/proto/Examples.proto | 1 +
.../ratis/server/impl/PeerConfiguration.java | 4 +
.../ratis/server/impl/RaftConfigurationImpl.java | 4 +
.../org/apache/ratis/server/impl/VoteContext.java | 4 +
.../ratis/server/impl/LeaderElectionTests.java | 58 +++++++++++
.../datastream/DataStreamAsyncClusterTests.java | 2 +-
...NettyDataStreamStarTopologyWithGrpcCluster.java | 22 +++-
44 files changed, 583 insertions(+), 167 deletions(-)