You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ru...@apache.org on 2020/12/03 07:10:51 UTC

[incubator-ratis] branch master updated (f35d4f5 -> fbf0386)

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

runzhiwang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git.


    from f35d4f5  RATIS-1194. SegmentedRaftLog syncWithSnapshot should not create a new open segment. (#315)
     add fbf0386  RATIS-1197. Add getRoleInfoProto() and other methods to DivisionInfo. (#316)

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/ratis/server/DivisionInfo.java | 23 ++++++++++++++++
 .../org/apache/ratis/server/impl/LogAppender.java  |  2 +-
 .../apache/ratis/server/impl/RaftServerImpl.java   | 32 ++++++++++++++++------
 .../org/apache/ratis/server/impl/ServerState.java  | 14 +++++-----
 .../server/raftlog/segmented/SegmentedRaftLog.java |  4 +--
 .../java/org/apache/ratis/LogAppenderTests.java    |  2 +-
 .../org/apache/ratis/OutputStreamBaseTest.java     |  7 ++---
 .../test/java/org/apache/ratis/RaftAsyncTests.java |  8 +++---
 .../test/java/org/apache/ratis/RaftBasicTests.java |  4 +--
 .../java/org/apache/ratis/RetryCacheTests.java     |  8 +++---
 .../apache/ratis/server/impl/MiniRaftCluster.java  |  6 ++--
 .../ratis/server/impl/RaftServerTestUtil.java      | 12 --------
 .../impl/RaftStateMachineExceptionTests.java       |  2 +-
 .../server/impl/StateMachineShutdownTests.java     |  6 ++--
 .../ratis/statemachine/RaftSnapshotBaseTest.java   |  2 +-
 .../apache/ratis/grpc/TestLogAppenderWithGrpc.java |  2 +-
 .../apache/ratis/server/ServerRestartTests.java    |  6 ++--
 .../raftlog/segmented/TestCacheEviction.java       | 16 +++++------
 18 files changed, 91 insertions(+), 65 deletions(-)