Will-Lo commented on code in PR #3792:
URL: https://github.com/apache/gobblin/pull/3792#discussion_r1344826494


##########
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/api/MysqlMultiActiveLeaseArbiter.java:
##########
@@ -221,6 +237,31 @@ private void initializeConstantsTable() throws IOException 
{
     }, true);
   }
 
+  /**
+   * Periodically deletes all rows in the table with event_timestamp older 
than the retention period defined by config.
+   */
+  private void runRetentionOnArbitrationTable() {

Review Comment:
   Small nit but can we add the code for starting a thread within this method? 
Due to how it's implemented as an infinite loop we would generally always want 
this function to be run asynchronously 



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

Reply via email to