You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Song Ziyang (Jira)" <ji...@apache.org> on 2023/03/28 14:59:00 UTC
[jira] [Resolved] (RATIS-1823) Improve error log in StreamObserverWithTimeout
[ https://issues.apache.org/jira/browse/RATIS-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Song Ziyang resolved RATIS-1823.
--------------------------------
Fix Version/s: 2.5.0
Target Version/s: 2.5.0
Resolution: Fixed
The PR is now merged. Thanks [~szetszwo] for the elegant resolution!
> Improve error log in StreamObserverWithTimeout
> ----------------------------------------------
>
> Key: RATIS-1823
> URL: https://issues.apache.org/jira/browse/RATIS-1823
> Project: Ratis
> Issue Type: Improvement
> Components: gRPC, snapshot
> Reporter: Song Ziyang
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 2.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In StreamObserverWithTimeout's LOG, Request body is fully printed , e.g. https://github.com/apache/ratis/blob/d495846f0b754a67594cc48f5559ca36838fd700/ratis-grpc/src/main/java/org/apache/ratis/grpc/util/StreamObserverWithTimeout.java#L85.
> However, the installSnapshot requests are sometimes large and even reach multiple megabytes (maxChunkSize). Print the whole request is cpu-consuming and annoying.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)