Ethan Rose created HDDS-4220:
--------------------------------

             Summary: BlockManagerImpl#getBlockByID does unnecessary 
serialization
                 Key: HDDS-4220
                 URL: https://issues.apache.org/jira/browse/HDDS-4220
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Ethan Rose
            Assignee: Ethan Rose


After HDDS-3869, tables in the datanode handle coding/decoding objects to/from 
RocksDB, and the caller no longer has to do this manually. As a result, theĀ 
BlockManagerImpl#getBlockByID method should now return a BlockData type, 
instead of a byte array. In the current implementation, this method converts 
the block data into a byte array and returns it to the caller, who then 
converts the byte array back to block data in order to use it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to