alibaba / alibaba/druid

notFullTimeoutRetryCount比较导致多一次重试

Open
#2,437 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28.2k
Forks
8.6k
PR merge metrics
No merged PRs in 30d

Description

v1.1.9

**DruidDataSource** 行1255

`if (notFullTimeoutRetryCnt <= this.notFullTimeoutRetryCount && !isFull()) {`

notFullTimeoutRetryCount为0时不应重试,<=应改为<。

Contributor guide

Open the contributing guide

Research direction

Open DruidDataSource around line 1255 and inspect the notFullTimeoutRetryCnt comparison. Verify the behavior when notFullTimeoutRetryCount is 0, then confirm that the retry condition no longer permits an extra retry. The issue does not mention a test file or command.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.