You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ms...@apache.org on 2020/04/03 05:57:29 UTC

[incubator-ratis] branch ratis-ozone updated (c463325 -> d23d2a8)

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

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


    from c463325  Merge commit '3ba7e315eda4c173e99b07285d7e2d368c999a6a' into ratis-ozone
     add 80804b2  Switch to 0.6.0-SNAPSHOT after the 0.5.0 release
     add 9144be8  RATIS-809. Separate metrics for heartbeats and log appends.
     add 3c23c33  RATIS-817. Bump the copyright year of the NOTICE.txt
     add 339625c  RATIS-820. Use https for the maven repositories
     add 068f20c  RATIS-814. High CPU usage by TimeoutScheduler due to JDK bug JDK-8129861. Contributed by Lokesh Jain.
     add a320ae0  RATIS-815. Log entry corrupted with 0 checksum. Contributed by Tsz Wo Nicholas Sze.
     add 2e2bfb4  RATIS-822. BufferedWriteChannel may not flush correctly. Contributed by Tsz Wo Nicholas Sze.
     add 701aab7  RATIS-813. Add streamAsync(..). Contributed by Tsz-wo Sze.
     add 7c01837  RATIS-686. Enforce standard getter and setter names in config keys. Contributed by Tsz Wo Nicholas Sze.
     add 636239f  RATIS-816. Use peerId in error log / exception of GrpcServerProtocolClient.
     add 7c5b30d  RATIS-827. Ratis example is leaking to the ratis-tools classpath. Contributed Marton Elek.
     new d23d2a8  Merge commit '7c5b30d825e598ceaa4bd309c4d66d4ba40bf83e' 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                                             |   2 +-
 pom.xml                                            |   6 +-
 ratis-assembly/pom.xml                             |   2 +-
 ratis-assembly/src/main/resources/NOTICE           |   2 +-
 ratis-client/pom.xml                               |   2 +-
 .../apache/ratis/client/RaftClientConfigKeys.java  |  32 +++-
 .../org/apache/ratis/client/api/StreamApi.java     |  11 ++
 .../org/apache/ratis/client/impl/OrderedAsync.java |   2 +-
 .../org/apache/ratis/client/impl/StreamImpl.java   |  24 +++
 ratis-common/pom.xml                               |   2 +-
 .../main/java/org/apache/ratis/conf/ConfUtils.java |  46 ++++-
 .../main/java/org/apache/ratis/util/IOUtils.java   |  17 ++
 .../java/org/apache/ratis/util/SizeInBytes.java    |   4 +-
 .../org/apache/ratis/util/TimeoutScheduler.java    |   2 +-
 ratis-examples/pom.xml                             |   6 +-
 .../examples/arithmetic}/ArithmeticLogDump.java    |   8 +-
 .../ratis/examples/arithmetic/cli/Server.java      |   2 +-
 .../ratis/examples/filestore/cli/Client.java       |   4 +-
 .../ratis/examples/filestore/cli/Server.java       |   2 +-
 .../arithmetic}/TestArithmeticLogDump.java         |  12 +-
 ratis-grpc/pom.xml                                 |   2 +-
 .../java/org/apache/ratis/grpc/GrpcConfigKeys.java |  48 +++---
 .../java/org/apache/ratis/grpc/GrpcFactory.java    |   2 +-
 .../ratis/grpc/metrics/GrpcServerMetrics.java      |  24 ++-
 .../apache/ratis/grpc/server/GrpcLogAppender.java  |  16 +-
 .../grpc/server/GrpcServerProtocolClient.java      |   9 +-
 .../ratis/grpc/server/TestGrpcServerMetrics.java   |  58 +++++--
 ratis-hadoop/pom.xml                               |   2 +-
 ratis-logservice/pom.xml                           |   2 +-
 .../apache/ratis/logservice/server/LogServer.java  |   2 +-
 .../ratis/logservice/server/MetadataServer.java    |   4 +-
 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  |  24 +--
 .../apache/ratis/server/impl/RaftServerImpl.java   |   2 +-
 .../ratis/server/impl/RaftServerMetrics.java       |   4 +-
 .../apache/ratis/server/impl/RaftServerProxy.java  |   2 +-
 .../org/apache/ratis/server/impl/ServerState.java  |   2 +-
 .../raftlog/segmented/BufferedChannelBase.java     |  52 ------
 .../raftlog/segmented/BufferedWriteChannel.java    |  94 ++++++-----
 .../raftlog/segmented/SegmentedRaftLogCache.java   |   2 +-
 .../segmented/SegmentedRaftLogOutputStream.java    | 113 ++++---------
 .../raftlog/segmented/SegmentedRaftLogWorker.java  |   4 +-
 .../java/org/apache/ratis/LogAppenderTests.java    |   9 +-
 .../java/org/apache/ratis/MiniRaftCluster.java     |   2 +-
 .../test/java/org/apache/ratis/RaftAsyncTests.java |   6 +-
 .../test/java/org/apache/ratis/StreamApiTests.java |  58 ++++++-
 ratis-test/pom.xml                                 |   2 +-
 .../apache/ratis/grpc/TestRaftServerWithGrpc.java  |   5 +-
 .../ratis/server/TestRaftServerConfigKeys.java     |  12 +-
 .../segmented/TestBufferedWriteChannel.java        | 186 +++++++++++++++++++++
 .../raftlog/segmented/TestCacheEviction.java       |   4 +-
 .../server/raftlog/segmented/TestLogSegment.java   |   2 +-
 .../raftlog/segmented/TestRaftLogReadWrite.java    |   2 +-
 .../raftlog/segmented/TestSegmentedRaftLog.java    |   2 +-
 ratis-tools/pom.xml                                |  62 +------
 60 files changed, 638 insertions(+), 382 deletions(-)
 rename {ratis-tools/src/main/java/org/apache/ratis/tools => ratis-examples/src/main/java/org/apache/ratis/examples/arithmetic}/ArithmeticLogDump.java (94%)
 rename {ratis-tools/src/test/java/org/apache/ratis/tools => ratis-examples/src/test/java/org/apache/ratis/examples/arithmetic}/TestArithmeticLogDump.java (97%)
 delete mode 100644 ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/BufferedChannelBase.java
 create mode 100644 ratis-test/src/test/java/org/apache/ratis/server/raftlog/segmented/TestBufferedWriteChannel.java


[incubator-ratis] 01/01: Merge commit '7c5b30d825e598ceaa4bd309c4d66d4ba40bf83e' into ratis-ozone

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

msingh pushed a commit to branch ratis-ozone
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git

commit d23d2a8841906d71cfb51d4718d34cdbfcc1b05a
Merge: c463325 7c5b30d
Author: Mukul Kumar Singh <ms...@apache.org>
AuthorDate: Fri Apr 3 11:27:04 2020 +0530

    Merge commit '7c5b30d825e598ceaa4bd309c4d66d4ba40bf83e' into ratis-ozone

 NOTICE                                             |   2 +-
 pom.xml                                            |   6 +-
 ratis-assembly/pom.xml                             |   2 +-
 ratis-assembly/src/main/resources/NOTICE           |   2 +-
 ratis-client/pom.xml                               |   2 +-
 .../apache/ratis/client/RaftClientConfigKeys.java  |  32 +++-
 .../org/apache/ratis/client/api/StreamApi.java     |  11 ++
 .../org/apache/ratis/client/impl/OrderedAsync.java |   2 +-
 .../org/apache/ratis/client/impl/StreamImpl.java   |  24 +++
 ratis-common/pom.xml                               |   2 +-
 .../main/java/org/apache/ratis/conf/ConfUtils.java |  46 ++++-
 .../main/java/org/apache/ratis/util/IOUtils.java   |  17 ++
 .../java/org/apache/ratis/util/SizeInBytes.java    |   4 +-
 .../org/apache/ratis/util/TimeoutScheduler.java    |   2 +-
 ratis-examples/pom.xml                             |   6 +-
 .../examples/arithmetic}/ArithmeticLogDump.java    |   8 +-
 .../ratis/examples/arithmetic/cli/Server.java      |   2 +-
 .../ratis/examples/filestore/cli/Client.java       |   4 +-
 .../ratis/examples/filestore/cli/Server.java       |   2 +-
 .../arithmetic}/TestArithmeticLogDump.java         |  12 +-
 ratis-grpc/pom.xml                                 |   2 +-
 .../java/org/apache/ratis/grpc/GrpcConfigKeys.java |  48 +++---
 .../java/org/apache/ratis/grpc/GrpcFactory.java    |   2 +-
 .../ratis/grpc/metrics/GrpcServerMetrics.java      |  24 ++-
 .../apache/ratis/grpc/server/GrpcLogAppender.java  |  16 +-
 .../grpc/server/GrpcServerProtocolClient.java      |   9 +-
 .../ratis/grpc/server/TestGrpcServerMetrics.java   |  58 +++++--
 ratis-hadoop/pom.xml                               |   2 +-
 ratis-logservice/pom.xml                           |   2 +-
 .../apache/ratis/logservice/server/LogServer.java  |   2 +-
 .../ratis/logservice/server/MetadataServer.java    |   4 +-
 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  |  24 +--
 .../apache/ratis/server/impl/RaftServerImpl.java   |   2 +-
 .../ratis/server/impl/RaftServerMetrics.java       |   4 +-
 .../apache/ratis/server/impl/RaftServerProxy.java  |   2 +-
 .../org/apache/ratis/server/impl/ServerState.java  |   2 +-
 .../raftlog/segmented/BufferedChannelBase.java     |  52 ------
 .../raftlog/segmented/BufferedWriteChannel.java    |  94 ++++++-----
 .../raftlog/segmented/SegmentedRaftLogCache.java   |   2 +-
 .../segmented/SegmentedRaftLogOutputStream.java    | 113 ++++---------
 .../raftlog/segmented/SegmentedRaftLogWorker.java  |   4 +-
 .../java/org/apache/ratis/LogAppenderTests.java    |   9 +-
 .../java/org/apache/ratis/MiniRaftCluster.java     |   2 +-
 .../test/java/org/apache/ratis/RaftAsyncTests.java |   6 +-
 .../test/java/org/apache/ratis/StreamApiTests.java |  58 ++++++-
 ratis-test/pom.xml                                 |   2 +-
 .../apache/ratis/grpc/TestRaftServerWithGrpc.java  |   5 +-
 .../ratis/server/TestRaftServerConfigKeys.java     |  12 +-
 .../segmented/TestBufferedWriteChannel.java        | 186 +++++++++++++++++++++
 .../raftlog/segmented/TestCacheEviction.java       |   4 +-
 .../server/raftlog/segmented/TestLogSegment.java   |   2 +-
 .../raftlog/segmented/TestRaftLogReadWrite.java    |   2 +-
 .../raftlog/segmented/TestSegmentedRaftLog.java    |   2 +-
 ratis-tools/pom.xml                                |  62 +------
 60 files changed, 638 insertions(+), 382 deletions(-)