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_r294540419
 
 

 ##########
 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:
   Ok, in most cases this would not happen. No one would map a WAL to a 
different disk. If it is mapped, then we can probably log that we detected it 
is mapped. This is certainly not an error.

----------------------------------------------------------------
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]

Reply via email to