ptlrs commented on code in PR #7934:
URL: https://github.com/apache/ozone/pull/7934#discussion_r1968244255
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/keyvalue/TestTarContainerPacker.java:
##########
@@ -142,9 +155,9 @@ private KeyValueContainerData createContainer(Path dir,
boolean createDir)
long id = CONTAINER_ID.getAndIncrement();
Path containerDir = dir.resolve(String.valueOf(id));
- Path dbDir = containerDir.resolve("db");
Path dataDir = containerDir.resolve("chunks");
Path metaDir = containerDir.resolve("metadata");
+ Path dbDir = metaDir.resolve("db");
Review Comment:
Moved the db dir under the metadata dir.
The db dir being at the same level as the metadata dir resulted in failure
to create the temporary file when persisting the container state to disk.
--
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]