lihjChina opened a new issue, #5636:
URL: https://github.com/apache/seatunnel/issues/5636

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   My source has 1 million data and the target has 0. When I start the 
synchronization task, I write the data to the target and then execute The 
command ./seatunnel.sh -s 766195915831640065 was used to store the savepoint, 
but it was not found until the task was fully transferred and the target 
reached 1 million. Then the savepoint was written to HDFS.
   
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
       "job.mode"="BATCH"
       "job.name"="DEMO"
       "execution.parallelism"=2
   }
   source {
       Jdbc {
           url="jdbc:mysql://xxx/seatunnel_source"
           driver="com.mysql.cj.jdbc.Driver"
           user="root"
           password="joyadata"
           query="select * from emp_quality_millions_100w"
           "partition_column"="emp_id"
           "partition_num"=40
           "parallelism"=2
       }
   }
   transform {
   }
   sink {
       Jdbc {
           url="jdbc:mysql://xxx/seatunnel_sink"
           driver="com.mysql.cj.jdbc.Driver"
           user="root"
           password="joyadata"
           database="seatunnel_sink"
           table="emp_104"
           "batch_size"="1000"
           "generate_sink_sql"="true"
            "enable_upsert" = true
                "generate_sink_sql" = true
           "query" = ""
   
       }
   }
   
   
   
   seatunnel.yaml is
   seatunnel:
       engine:
           backup-count: 1
           queue-type: blockingqueue
           print-execution-info-interval: 60
           slot-service:
               dynamic-slot: true
           checkpoint:
               interval: 10000
               timeout: 300000
               storage:
                   type: hdfs
                   max-retained: 3
                   plugin-config:
                       namespace: /tmp/seatunnel/checkpoint_snapshot/
                       storage.type: hdfs
                       fs.defaultFS: hdfs://xxx:8020
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh -s 766195915831640065
   ```
   
   
   ### Error Exception
   
   ```log
   no exception
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java version "1.8.0_291"
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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