[ 
https://issues.apache.org/jira/browse/FLINK-35408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849699#comment-17849699
 ] 

Leonard Xu edited comment on FLINK-35408 at 6/3/24 6:13 AM:
------------------------------------------------------------

Implemented in 
master: b2cb30f2406502b5672f8ed8a3a8eaef1d6d6a07
3.1: 536f707eb783f9f1429bf51fd3ce09addffaefe9


was (Author: leonard xu):
Implemented in master: b2cb30f2406502b5672f8ed8a3a8eaef1d6d6a07

> Add 30 min tolerance value when validating the time-zone setting
> ----------------------------------------------------------------
>
>                 Key: FLINK-35408
>                 URL: https://issues.apache.org/jira/browse/FLINK-35408
>             Project: Flink
>          Issue Type: Improvement
>          Components: Flink CDC
>    Affects Versions: cdc-3.1.0
>            Reporter: Xiao Huang
>            Assignee: Xiao Huang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: cdc-3.2.0
>
>
> Now, MySQL CDC connector will retrieve the offset seconds between the 
> configured timezone and UTC by executing the SQL statement below, and then 
> compare it with the configured timezone.
> {code:java}
> SELECT TIME_TO_SEC(TIMEDIFF(NOW(), UTC_TIMESTAMP())) {code}
> For some MySQL instances, the validating for time-zone is too strict. We can 
> add 30min tolerance value.



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

Reply via email to