You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/03/15 08:43:00 UTC

[jira] [Commented] (RATIS-1554) Fix SnapshotManager RV_RETURN_VALUE_IGNORED_BAD_PRACTICE

    [ https://issues.apache.org/jira/browse/RATIS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506790#comment-17506790 ] 

Tsz-wo Sze commented on RATIS-1554:
-----------------------------------

It also triggered a few code scanning alerts in GitHub.
 !Screen Shot 2022-03-15 at 4.39.26 PM.png! 

> Fix SnapshotManager RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
> --------------------------------------------------------
>
>                 Key: RATIS-1554
>                 URL: https://issues.apache.org/jira/browse/RATIS-1554
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>         Attachments: Screen Shot 2022-03-15 at 4.39.26 PM.png
>
>
> In SnapshotManager, there are two calls to File.renameTo(..) but the return values of are ignored.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)