[
https://issues.apache.org/jira/browse/KNOX-2890?focusedWorklogId=852594&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-852594
]
ASF GitHub Bot logged work on KNOX-2890:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Mar/23 15:16
Start Date: 23/Mar/23 15:16
Worklog Time Spent: 10m
Work Description: pzampino commented on code in PR #742:
URL: https://github.com/apache/knox/pull/742#discussion_r1146353661
##########
gateway-provider-ha/src/main/java/org/apache/knox/gateway/ha/dispatch/i18n/HaDispatchMessages.java:
##########
@@ -53,4 +53,7 @@ public interface HaDispatchMessages {
@Message(level = MessageLevel.ERROR, text = "Unsupported encoding, cause:
{0}")
void unsupportedEncodingException(String cause);
+
+ @Message(level = MessageLevel.ERROR, text = "Request is non-idempotent {0},
failover prevented, to allow non-idempotent requests to failover set
'failoverNonIdempotentRequestEnabled=true' in HA config.")
+ void cannotFailoverToNonIdempotentRequest(String method);
Review Comment:
cannotFailoverNonIdempotentRequest(String method)
Issue Time Tracking
-------------------
Worklog Id: (was: 852594)
Time Spent: 0.5h (was: 20m)
> When client-knox connection is broken knox should not retry the same client
> request
> -----------------------------------------------------------------------------------
>
> Key: KNOX-2890
> URL: https://issues.apache.org/jira/browse/KNOX-2890
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 2.0..0
> Reporter: J.Andreina
> Assignee: Sandeep More
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Knox should not be retrying non idempotent requests like POST, PATCH etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)