[
https://issues.apache.org/jira/browse/KNOX-2912?focusedWorklogId=865174&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-865174
]
ASF GitHub Bot logged work on KNOX-2912:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jun/23 11:19
Start Date: 13/Jun/23 11:19
Worklog Time Spent: 10m
Work Description: zeroflag opened a new pull request, #763:
URL: https://github.com/apache/knox/pull/763
## What changes were proposed in this pull request?
ConnectionTimeout was missing from the original patch
## How was this patch tested?
```xml
<provider>
<role>ha</role>
<name>HaProvider</name>
<enabled>true</enabled>
<param>
<name>HIVE</name>
<value>enabled=true;maxFailoverAttempts=3;failoverSleep=1000</value>
</param>
</provider>
</gateway>
<service>
<role>HIVE</role>
<url>http://google.com:81</url>
<url>http://localhost:1701</url>
</service>
```
Issue Time Tracking
-------------------
Worklog Id: (was: 865174)
Time Spent: 0.5h (was: 20m)
> Don't fail over non idempotent requests unless it's a connect exception
> -----------------------------------------------------------------------
>
> Key: KNOX-2912
> URL: https://issues.apache.org/jira/browse/KNOX-2912
> Project: Apache Knox
> Issue Type: Task
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently knox tries to fail over non idempotent (POST/PUT/etc) requests.
> Failover should only happen if the request was not yet consumed, eg.: a
> connection related exception happened.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)