Tejaskriya opened a new pull request, #7652:
URL: https://github.com/apache/ozone/pull/7652

   ## What changes were proposed in this pull request?
   
   `ozone debug ldb` automatically detects which schema to use for the provided 
DB based on its name. However, there may be cases where the tool has not been 
updated to handle a different DB or format. To support these cases before full 
support is added, a --schema=<DBDefinition implementation> option is added that 
allows passing a java class present in the classpath which implements 
DBDefinition to use as the schema for displaying a provided DB.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11746
   
   ## How was this patch tested?
   
   Added unit test in TestDBDefinitionFactory and integration test in 
TestLDBCli. 
   Also added a test in TestDBDefinitionFactory to ensure any DBDefinitions 
added in the future will be usable through the newly introduced option (i.e., 
the requires constructor is present).
   


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