symious commented on pull request #3052: URL: https://github.com/apache/ozone/pull/3052#issuecomment-1050372913
I think the process sequence are as follows: 1. container exported to FileOutputStream 2. peer use importContainerData to import the contaienr. 3. TarContainerPacker unpack the container from the FileInputStream. After the unpack, the directory of "chunks" shouldn't be there. 4. But in `KeyValueContainerUtil.parseKVContainerData(containerData, config);` since the new logic was added that if the chunk directory doesn't exists, we create it. So even without the changes in TarContainerPacker, the unit test still passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
