Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
The code of 'lookup.max-retries' option :
for (int retry = 1; retry <= maxRetryTimes; retry++) { statement.clearParameters(); ..... }
From the code, If this option is set to 0, the JDBC query will not be executed.
From documents, the max retry times if lookup database failed. [1]
When set to 0, there is a query, but no retry.
So,the code of 'lookup.max-retries' option should be:
for (int retry = 0; retry <= maxRetryTimes; retry++) { statement.clearParameters(); ..... }
Attachments
Issue Links
- links to