swagle commented on a change in pull request #546: HDDS-2847. Recon should 
track containers that are missing along with …
URL: https://github.com/apache/hadoop-ozone/pull/546#discussion_r379734242
 
 

 ##########
 File path: 
hadoop-ozone/recon-codegen/src/main/java/org/hadoop/ozone/recon/schema/UtilizationSchemaDefinition.java
 ##########
 @@ -77,4 +81,13 @@ void createFileSizeCount(Connection conn) {
             .primaryKey("file_size"))
         .execute();
   }
+
+  void createMissingContainersTable(Connection conn) {
+    DSL.using(conn).createTableIfNotExists(MISSING_CONTAINERS_TABLE_NAME)
+        .column("container_id", SQLDataType.BIGINT)
+        .column("missing_since", SQLDataType.BIGINT)
 
 Review comment:
   Index on timestamp for lookups?

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