István Fajth created HDDS-5815:
----------------------------------

             Summary: FileEncryptionInfo is not necessary to be referenced 
inside KeyOutputStream
                 Key: HDDS-5815
                 URL: https://issues.apache.org/jira/browse/HDDS-5815
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: István Fajth


Currently the RPCClient sets the open key session to the KeyOutputStream during 
a write initialization.
>From the OpenKeySession, the KeyOutputStream fetches the OMKeyInfo, and then 
>from that the FileEncryptionInfo.
The sole reason to do this is to provide a getter for the FileEncryptionInfo 
object, which then retrieved by the RPCClient later on.

So that the reference can be removed from KeyOutputStream as it is unnecessary 
at the moment.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to