apache / apache/incubator-seata

optimize channel availability thread log output

Open
#5,474 3 comments 0 reactions 0 assignees View on GitHub
good first issue task: help-wanted
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

### Ⅰ. Issue Description

![image](https://user-images.githubusercontent.com/19943636/228741084-142daddf-0089-4a67-9a51-78be0a6d6dac.png)
建议改为debug下输出堆栈,info下不输出堆栈,并且将所有失败的地址合并输出,而不是10个里面有5个地址不可用输出五次日志得形式

### Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

```
Just paste your stack trace here!
```

### Ⅲ. Describe what you expected to happen

### Ⅳ. How to reproduce it (as minimally and precisely as possible)

1. xxx
2. xxx
3. xxx

### Ⅴ. Anything else we need to know?

### Ⅵ. Environment:

- JDK version :
- Seata version:
- OS :
- Others:

Contributor guide

Open the contributing guide

Research direction

Start by locating the channel-availability check and its current logging path in the Seata codebase; the issue does not name a file or test. Review how unavailable addresses are logged, then verify that stack traces are emitted at debug level, omitted at info level, and failed addresses are combined into one log output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.