anuengineer commented on a change in pull request #981: HDDS-1696. RocksDB use
separate Write-ahead-log location for OM RocksDB.
URL: https://github.com/apache/hadoop/pull/981#discussion_r294543251
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/DBStoreBuilder.java
##########
@@ -220,4 +227,15 @@ private File getDBFile() throws IOException {
return Paths.get(dbPath.toString(), dbname).toFile();
}
+ private File getWALFile() throws IOException {
+ if (walPath == null) {
+ LOG.error("Write-ahead-log path is " +
Review comment:
I would think that most people will never even add WAL as an option, so this
should not be an error IMHO.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]