errose28 commented on a change in pull request #3018:
URL: https://github.com/apache/ozone/pull/3018#discussion_r797916692



##########
File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/upgrade/OMLayoutFeature.java
##########
@@ -29,8 +29,9 @@
  */
 public enum OMLayoutFeature implements LayoutFeature {
   //////////////////////////////  //////////////////////////////
-  INITIAL_VERSION(0, "Initial Layout Version");
-
+  INITIAL_VERSION(0, "Initial Layout Version"),
+  // TODO: Have a better name / description? Create table action on upgrade?
+  MULTITENANCY_SCHEMA(1, "Multi-tenancy Schema");

Review comment:
       The new tables will actually be created in pre-finalize, I believe when 
the DB is opened. However, the old Ozone version will disregard tables it does 
not know about. So as long as no information is put in these tables during 
pre-finalize, it is not an incompatible change. That is why the 
upgrade/downgrade acceptance tests pass on our branch.




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