This is an automated email from the ASF dual-hosted git repository.
shashikant pushed a change to branch ratis-ozone
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git.
from 8c55d9a RATIS-674. Correct the service loader entry for
MetricRegistries
add 741d8bd RATIS-556 Detect node failures and close the log to prevent
additional writes(Rajeshbabu)
add 0f25304 RATIS-674. Correct the service loader entry for
MetricRegistries
add 73f906c Merge pull request #35 from joshelser/674-services
add 1ceeb29 RATIS-543. Ratis GRPC client produces excessive logging while
writing data. Contributed by Tsz Wo Nicholas Sze.
add 67ba9cd RATIS-668. Fix NOTICE file. Contributed by Arpit Agarwal.
add be9a984 RATIS-569. StatusRuntimeException because Ratis clients do
not shutdown the observer cleanly. Contributed by Siddharth Wagle.
add c8f2c7a RATIS-670. Add a metric to track StateMachine Log apply
index. Contributed by Supratim Deka.
add c9308f6 RATIS-655. Change LeaderState and FollowerState and to use
RaftGroupMemberId.
add 0b70002 RATIS-684. Yetus build fails due to unreachable maven url.
Contributed by Lokesh Jain.
add 126db11 Change version for the version 0.4.0-rc4
add 950962d Switch to 0.5.0-SNAPSHOT after the 0.4.0 release
add ac15858 Merge commit '950962dc917f5d7ba00ed0f5b73c86c566bf6972'
add 1b2fcd9 RATIS-681. Fix non-standard field names in config keys.
add c564743 RATIS-677. Log entry marked corrupt due to ChecksumException.
add af8a5bc RATIS-678. Notify Leader does not provide raft group id.
Contributed by Siddharth Wagle.
add cff085c RATIS-647. Create metrics associated with RaftLog for
RaftServer. Contributed by Aravindan Vijayan.
add 201fc85 RATIS-690. RaftClient should reconnect and change leader on
TimeoutIOException, AlreadyClosedException. Contributed by Lokesh Jain.
add fb56bcb RATIS-679. Add counters for append entries and number of
times raft log is flushed.
add 5dd466a RATIS-672. Vagrant test's Maven 404's
add ecef287 Revert "RATIS-672. Vagrant test's Maven 404's"
new 942f5af Merge branch 'master' into ratis-ozone
The 1 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:
NOTICE | 19 +--
dev-support/docker/Dockerfile | 2 +-
pom.xml | 2 +-
ratis-assembly/pom.xml | 2 +-
ratis-assembly/src/main/resources/NOTICE | 15 ---
ratis-client/pom.xml | 2 +-
.../apache/ratis/client/impl/RaftClientImpl.java | 4 +-
ratis-common/pom.xml | 2 +-
.../main/java/org/apache/ratis/conf/ConfUtils.java | 50 +++++---
ratis-examples/pom.xml | 2 +-
ratis-grpc/pom.xml | 2 +-
.../java/org/apache/ratis/grpc/GrpcConfigKeys.java | 26 ++--
.../grpc/client/GrpcClientProtocolClient.java | 10 +-
.../grpc/server/GrpcServerProtocolClient.java | 11 +-
ratis-hadoop/pom.xml | 2 +-
ratis-logservice/pom.xml | 2 +-
.../apache/ratis/logservice/common/Constants.java | 8 ++
.../apache/ratis/logservice/server/LogServer.java | 40 ++++++
.../ratis/logservice/server/LogStateMachine.java | 16 ++-
.../ratis/logservice/server/MetaStateMachine.java | 138 ++++++++++++++++++---
.../ratis/logservice/server/MetadataServer.java | 13 +-
.../ratis/logservice/util/LogServiceProtoUtil.java | 2 +-
.../logservice/util/MetaServiceProtoUtil.java | 11 +-
ratis-logservice/src/main/proto/LogService.proto | 1 +
ratis-logservice/src/main/proto/MetaService.proto | 9 +-
.../ratis/logservice/server/TestMetaServer.java | 40 +++++-
ratis-metrics/pom.xml | 2 +-
ratis-netty/pom.xml | 2 +-
ratis-proto/pom.xml | 2 +-
ratis-replicated-map/pom.xml | 2 +-
ratis-resource-bundle/pom.xml | 2 +-
ratis-server/pom.xml | 2 +-
.../apache/ratis/server/RaftServerConfigKeys.java | 47 +++++--
.../apache/ratis/server/impl/FollowerState.java | 22 ++--
.../apache/ratis/server/impl/LeaderElection.java | 18 ++-
.../org/apache/ratis/server/impl/LeaderState.java | 63 ++++++----
.../apache/ratis/server/impl/PendingRequests.java | 4 +-
.../apache/ratis/server/impl/RaftServerImpl.java | 12 +-
.../org/apache/ratis/server/impl/ServerState.java | 4 +-
.../ratis/server/impl/StateMachineMetrics.java | 57 +++++++++
.../ratis/server/impl/StateMachineUpdater.java | 13 +-
.../ratis/server/metrics/RaftLogMetrics.java | 111 +++++++++++++++++
.../ratis/server/metrics/RatisMetricNames.java | 69 ++++++++++-
.../apache/ratis/server/metrics/RatisMetrics.java | 36 ++++--
.../ratis/server/raftlog/segmented/LogSegment.java | 62 ++++++---
.../server/raftlog/segmented/SegmentedRaftLog.java | 28 ++++-
.../raftlog/segmented/SegmentedRaftLogCache.java | 12 +-
.../segmented/SegmentedRaftLogInputStream.java | 12 +-
.../raftlog/segmented/SegmentedRaftLogReader.java | 21 +++-
.../raftlog/segmented/SegmentedRaftLogWorker.java | 45 ++++---
.../apache/ratis/server/storage/RaftStorage.java | 14 ++-
.../apache/ratis/statemachine/StateMachine.java | 9 +-
.../ratis/statemachine/impl/BaseStateMachine.java | 9 ++
.../java/org/apache/ratis/LogAppenderTests.java | 2 +-
.../test/java/org/apache/ratis/RaftAsyncTests.java | 6 +
.../test/java/org/apache/ratis/RaftBasicTests.java | 55 ++++++++
.../test/java/org/apache/ratis/RaftTestUtil.java | 4 +-
.../ratis/server/storage/RaftStorageTestUtils.java | 8 +-
.../statemachine/SimpleStateMachine4Testing.java | 2 +-
ratis-test/pom.xml | 2 +-
.../ratis/TestRaftServerSlownessDetection.java | 2 +-
.../TestConfUtils.java} | 44 ++++---
.../org/apache/ratis/grpc/TestRaftWithGrpc.java | 6 +
.../apache/ratis/server/ServerRestartTests.java | 70 +++++++++++
.../ratis/server/raftlog/TestRaftLogMetrics.java | 60 ++++++++-
.../raftlog/segmented/TestCacheEviction.java | 2 +-
.../server/raftlog/segmented/TestLogSegment.java | 34 ++++-
.../raftlog/segmented/TestSegmentedRaftLog.java | 17 +++
.../segmented/TestSegmentedRaftLogCache.java | 2 +-
.../ratis/server/storage/TestRaftStorage.java | 7 +-
70 files changed, 1160 insertions(+), 274 deletions(-)
create mode 100644
ratis-server/src/main/java/org/apache/ratis/server/impl/StateMachineMetrics.java
create mode 100644
ratis-server/src/main/java/org/apache/ratis/server/metrics/RaftLogMetrics.java
copy
ratis-test/src/test/java/org/apache/ratis/{server/impl/TestRaftConfiguration.java
=> conf/TestConfUtils.java} (52%)
rename {ratis-server =>
ratis-test}/src/test/java/org/apache/ratis/server/ServerRestartTests.java (83%)