[ 
https://issues.apache.org/jira/browse/GOBBLIN-1713?focusedWorklogId=811748&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-811748
 ]

ASF GitHub Bot logged work on GOBBLIN-1713:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/22 22:04
            Start Date: 23/Sep/22 22:04
    Worklog Time Spent: 10m 
      Work Description: phet commented on code in PR #3567:
URL: https://github.com/apache/gobblin/pull/3567#discussion_r979090083


##########
gobblin-metastore/src/main/java/org/apache/gobblin/metastore/JobHistoryDataSourceProvider.java:
##########
@@ -17,24 +17,42 @@
 
 package org.apache.gobblin.metastore;
 
+import java.time.Duration;
 import java.util.Properties;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 import com.google.inject.Inject;
 import com.google.inject.name.Named;
 
 import org.apache.gobblin.configuration.ConfigurationKeys;
 import org.apache.gobblin.password.PasswordManager;
+import org.apache.gobblin.util.jdbc.DataSourceProvider;
+import org.apache.gobblin.util.jdbc.MysqlDataSourceUtils;
 
 
 /**
  * This class extends {@link org.apache.gobblin.util.jdbc.DataSourceProvider} 
with its own property keys.
  */
 public class JobHistoryDataSourceProvider extends 
org.apache.gobblin.util.jdbc.DataSourceProvider {
+  private static final Logger LOG = 
LoggerFactory.getLogger(DataSourceProvider.class);

Review Comment:
   do you want to update the class name given to the factory, right?





Issue Time Tracking
-------------------

    Worklog Id:     (was: 811748)
    Time Spent: 1h 40m  (was: 1.5h)

> Add validation check for mysql connection 
> ------------------------------------------
>
>                 Key: GOBBLIN-1713
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1713
>             Project: Apache Gobblin
>          Issue Type: New Feature
>            Reporter: Urmi Mustafi
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Detect once a MySQL connection becomes read-only.  Enforce verification when 
> this happens, so we know to create new, replacement connections (to a 
> read-write host). Adding this check to a code path that was missing this 
> check. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to