[jira] [Updated] (HDFS-16784) use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage
[ https://issues.apache.org/jira/browse/HDFS-16784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qinyuren updated HDFS-16784: Description: In > use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage > -- > > Key: HDFS-16784 > URL: https://issues.apache.org/jira/browse/HDFS-16784 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: qinyuren >Priority: Major > > In -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-16784) use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage
[ https://issues.apache.org/jira/browse/HDFS-16784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qinyuren updated HDFS-16784: Attachment: image-2022-09-28-15-37-24-622.png > use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage > -- > > Key: HDFS-16784 > URL: https://issues.apache.org/jira/browse/HDFS-16784 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: qinyuren >Priority: Major > Attachments: image-2022-09-28-15-37-24-622.png > > > In -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-16784) use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage
[ https://issues.apache.org/jira/browse/HDFS-16784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qinyuren updated HDFS-16784: Description: In #DatanodeAdminBackoffMonitor.scanDatanodeStorage, it uses a read lock to protect the function #isBlockReplicatedOk. But we found that the function #isBlockReplicatedOk may update the #neededReconstruction under certain conditions. !image-2022-09-28-15-37-24-622.png! Should we replace the read lock with write lock? was:In > use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage > -- > > Key: HDFS-16784 > URL: https://issues.apache.org/jira/browse/HDFS-16784 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: qinyuren >Priority: Major > Attachments: image-2022-09-28-15-37-24-622.png > > > In #DatanodeAdminBackoffMonitor.scanDatanodeStorage, it uses a read lock to > protect the function #isBlockReplicatedOk. > But we found that the function #isBlockReplicatedOk may update the > #neededReconstruction under certain conditions. > !image-2022-09-28-15-37-24-622.png! > Should we replace the read lock with write lock? -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-16784) use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage
[ https://issues.apache.org/jira/browse/HDFS-16784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HDFS-16784: -- Labels: pull-request-available (was: ) > use write lock in #DatanodeAdminBackoffMonitor.scanDatanodeStorage > -- > > Key: HDFS-16784 > URL: https://issues.apache.org/jira/browse/HDFS-16784 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: qinyuren >Priority: Major > Labels: pull-request-available > Attachments: image-2022-09-28-15-37-24-622.png > > > In #DatanodeAdminBackoffMonitor.scanDatanodeStorage, it uses a read lock to > protect the function #isBlockReplicatedOk. > But we found that the function #isBlockReplicatedOk may update the > #neededReconstruction under certain conditions. > !image-2022-09-28-15-37-24-622.png! > Should we replace the read lock with write lock? -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org