jaydeepkumar1984 commented on code in PR #3598:
URL: https://github.com/apache/cassandra/pull/3598#discussion_r1951967427


##########
src/java/org/apache/cassandra/schema/SystemDistributedKeyspace.java:
##########
@@ -159,6 +163,29 @@ private SystemDistributedKeyspace()
     private static final TableMetadata PartitionDenylistTable =
         parse(PARTITION_DENYLIST_TABLE, "Partition keys which have been denied 
access", PARTITION_DENYLIST_CQL).build();
 
+    public static final String AUTO_REPAIR_HISTORY_CQL = "CREATE TABLE IF NOT 
EXISTS %s ("
+                            + "host_id uuid,"
+                            + "repair_type text,"
+                            + "repair_turn text,"
+                            + "repair_start_ts timestamp,"
+                            + "repair_finish_ts timestamp,"
+                            + "delete_hosts set<uuid>,"
+                            + "delete_hosts_update_time timestamp,"
+                            + "force_repair boolean,"
+                            + "PRIMARY KEY (repair_type, host_id))";
+
+    private static final TableMetadata AutoRepairHistoryTable =
+            parse(AUTO_REPAIR_HISTORY, "Auto repair history for each node", 
AUTO_REPAIR_HISTORY_CQL).build();
+
+    public static final String AUTO_REPAIR_PRIORITY_CQL =  "CREATE TABLE IF 
NOT EXISTS %s ("
+                            + "repair_type text,"
+                            + "repair_priority set<uuid>,"
+                            + "PRIMARY KEY (repair_type))";
+
+    private static final TableMetadata AutoRepairPriorityTable =
+            parse(AUTO_REPAIR_PRIORITY, "Auto repair priority for each group", 
AUTO_REPAIR_PRIORITY_CQL).build();
+
+

Review Comment:
   nit: remove extra line



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to