Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1633

Improve the grpc config output log information.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0
    • conf, gRPC
    • None

    Description

      When run the rpc server, always output redundant and wrong log, like admin.port、client.port.

      2022-07-22 09:24:21 INFO  RaftServer:46 - raft.rpc.type = GRPC (default)
      2022-07-22 09:24:21 INFO  GrpcFactory:48 - PERFORMANCE WARNING: useCacheForAllThreads is true that may cause Netty to create a lot garbage objects and, as a result, trigger GC.
          It is recommended to disable useCacheForAllThreads by setting -Dorg.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads=false in command line.
      2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.admin.port = -1 (default)
      2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.server.port = 10024 (custom)
      2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.client.port = -1 (default)
      2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.server.port = 10024 (custom)
      2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.server.port = 10024 (custom)
      2022-07-22 09:24:21 INFO  GrpcService:46 - raft.grpc.message.size.max = 64MB (=67108864) (default)
      2022-07-22 09:24:21 INFO  RaftServerConfigKeys:46 - raft.server.log.appender.buffer.byte-limit = 4MB (=4194304) (default)
      2022-07-22 09:24:21 INFO  GrpcService:46 - raft.grpc.flow.control.window = 1MB (=1048576) (default) 

      Attachments

        Issue Links

          Activity

            People

              leo65535 Lei Xie
              leo65535 Lei Xie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h