sumitagrawl commented on code in PR #7071:
URL: https://github.com/apache/ozone/pull/7071#discussion_r1716309414


##########
hadoop-ozone/recon-codegen/src/main/java/org/hadoop/ozone/recon/schema/ContainerSchemaDefinition.java:
##########
@@ -80,7 +80,7 @@ public void initializeSchema() throws SQLException {
   private void createUnhealthyContainersTable() {
     dslContext.createTableIfNotExists(UNHEALTHY_CONTAINERS_TABLE_NAME)
         .column(CONTAINER_ID, SQLDataType.BIGINT.nullable(false))
-        .column(CONTAINER_STATE, SQLDataType.VARCHAR(16).nullable(false))
+        .column(CONTAINER_STATE, SQLDataType.VARCHAR(40).nullable(false))

Review Comment:
   Please check for compatibility for existing DB, we may need change column 
length on upgrade.



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