alibaba / alibaba/DataX

java调用Engine.entry,多线程下日志输出结果被覆盖,如何处理?

Open
#2,114 2 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

线程1单独跑结果:
image

线程2单独跑结果:
image

线程1和线程2同时跑:
image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Java Engine.entry entry point and reproduce the reported behavior with two simultaneous threads. Compare the single-thread and concurrent log output shown in the issue, then trace how each invocation produces its logs. Done means concurrent calls no longer overwrite one another's output, with a regression test if the project provides a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.