alibaba / alibaba/DataX

writer 是 MySQL 时,如何设置使用 autocommit 模式写入

Open
#1,746 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

我试过设置 session: ["set autocommit=1"] 不行,还是 insert into ... + commit 的形式写入

由于中间件这边不支持 commit 提交,导致无法正常写入

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the MySQL writer's handling of the session setting and the insert/commit sequence described in the report. Reproduce the case with session: ["set autocommit=1"] and verify whether writes still require an explicit commit; done means the configuration produces committed writes through the middleware.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.