You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/07/25 10:45:00 UTC

[jira] [Resolved] (RATIS-1637) Improve the log message with fallback value in conf

     [ https://issues.apache.org/jira/browse/RATIS-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved RATIS-1637.
-------------------------------------
    Fix Version/s: 2.4.0
       Resolution: Implemented

> Improve the log message with fallback value in conf
> ---------------------------------------------------
>
>                 Key: RATIS-1637
>                 URL: https://issues.apache.org/jira/browse/RATIS-1637
>             Project: Ratis
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 2.4.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> // before RATIS-1633
> 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)
> {code}
> RATIS-1633 changed the log (from above) to print out the effective value (to below).
> {code}
> // after RATIS-1633
> 2022-07-21 17:36:03 INFO  GrpcConfigKeys:46 - raft.grpc.client.port = 10024 (custom)
> {code}
> We should print also the valued set in conf as below.
> {code}
> raft.grpc.admin.port = 10024 (fallback to raft.grpc.server.port)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)