Gargi-jais11 opened a new pull request, #9318:
URL: https://github.com/apache/ozone/pull/9318

   ## What changes were proposed in this pull request?
   In Ozone, **"ozone.metadata.dirs"** is used in many places as the fallback 
solution if some specific properties is not defined. If OM, SCM, DN, S3g are 
all installed on different node, then this fallback will not cause any problem. 
But if on the same node, then there will be conflict, for example, OM has ratis 
directory, SCM also has ratis directory, so does DN. So for fallback solution, 
we should add component name to the directory, for example, om.ratis, scm.ratis 
and datanode.ratis .
   
   But for ratis we need to handle the case as below:
   
   ```
   Before fix:
   /data/metadata/ratis/ ← SCM, OM, DataNode ALL tried to use this!❌ 
   
   After fix:
   /data/metadata/scm.ratis ← SCM only ✅ 
   /data/metadata/om.ratis ← OM only ✅ 
   /data/metadata/datanode.ratis ← DataNode only ✅
   ```
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13866
   
   ## How was this patch tested?
   Added new UT.
   


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

Reply via email to