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

Hudson commented on HDDS-1291:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16267 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/16267/])
HDDS-1291. Set OmKeyArgs#refreshPipeline flag properly to avoid reading 
(7813154+ajayydv: rev dea6f2a065271d2e37eda05bbcb98fb1bb5ed2a6)
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmBlockVersioning.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBCSID.java
* (edit) 
hadoop-ozone/objectstore-service/src/main/java/org/apache/hadoop/ozone/web/storage/DistributedStorageHandler.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClient.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestCloseContainerHandler.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestCloseContainerHandlingByClient.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestSecureOzoneRpcClient.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestContainerReportWithKeys.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneAtRestEncryption.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientAbstract.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestReadRetries.java
* (edit) 
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestDeleteContainerHandler.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestCloseContainerByPipeline.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestStorageContainerManagerHelper.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerRequestHandler.java


> Set OmKeyArgs#refreshPipeline flag properly to avoid reading from stale 
> pipeline
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-1291
>                 URL: https://issues.apache.org/jira/browse/HDDS-1291
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.4.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> After HDDS-1138, the OM client will not talk to SCM directly to fetch the 
> pipeline info. Instead the pipeline info is returned as part of the 
> keyLocation cached by OM. 
>  
> In case SCM pipeline is changed such as closed, the client may get invalid 
> pipeline exception. In this case, the client need to getKeyLocation with 
> OmKeyArgs#refreshPipeline = true to force OM update its pipeline cache for 
> this key. 
>  
> An optimization could be queue a background task to update all the 
> keyLocations that is affected when OM does a refreshPipeline. (This part can 
> be done in 0.5)
> {code:java}
> oldpipeline->newpipeline{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to