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

yuuka updated RATIS-2158:
-------------------------
    Description: 
This is a follow-up improvement to issue RATIS-2147 MD5 mismatch when accept 
snapshot - ASF JIRA (apache.org).

The pr of 2147:  [RATIS-2147. Md5 mismatch when snapshot install by 
133tosakarin · Pull Request #1142 · apache/ratis 
(github.com)|https://github.com/apache/ratis/pull/1142]

Considering the concurrency safety issues, using volatile key word to 
MessageDigest.

  was:
This is a follow-up improvement to issue [RATIS-2147] MD5 mismatch when accept 
snapshot - ASF JIRA (apache.org).

The pr of 2147:  [RATIS-2147. Md5 mismatch when snapshot install by 
133tosakarin · Pull Request #1142 · apache/ratis 
(github.com)|https://github.com/apache/ratis/pull/1142]

Considering the concurrency safety issues, using AtomicReference to wrap 
MessageDigest.


> Add volatile key word to digester in SnapshotManager 
> -----------------------------------------------------
>
>                 Key: RATIS-2158
>                 URL: https://issues.apache.org/jira/browse/RATIS-2158
>             Project: Ratis
>          Issue Type: Wish
>            Reporter: yuuka
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> This is a follow-up improvement to issue RATIS-2147 MD5 mismatch when accept 
> snapshot - ASF JIRA (apache.org).
> The pr of 2147:  [RATIS-2147. Md5 mismatch when snapshot install by 
> 133tosakarin · Pull Request #1142 · apache/ratis 
> (github.com)|https://github.com/apache/ratis/pull/1142]
> Considering the concurrency safety issues, using volatile key word to 
> MessageDigest.



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

Reply via email to