You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/09 16:41:00 UTC

[jira] [Work logged] (KNOX-2619) HA dispatch should failover regardless of noFallback config until session is established

     [ https://issues.apache.org/jira/browse/KNOX-2619?focusedWorklogId=609235&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-609235 ]

ASF GitHub Bot logged work on KNOX-2619:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/21 16:40
            Start Date: 09/Jun/21 16:40
    Worklog Time Spent: 10m 
      Work Description: pzampino opened a new pull request #456:
URL: https://github.com/apache/knox/pull/456


   …ig until session is established
   
   ## What changes were proposed in this pull request?
   
   Modified ConfigurableHaDispatch behavior wrt to failover when sticky sessions are enabled, but fallback (i.e., failover) is disabled, and the initial request fails. With this change, the dispatch will failover until a session is established, regardless of the fallback configuration.
   
   ## How was this patch tested?
   
   Added tests in org.apache.knox.gateway.ha.dispatch.DefaultHaDispatchTest (testFailoverStickyOnFallbackOffLoadbalancingOn, testFailoverStickyOnFallbackOffLoadbalancingOff).
   
   mvn -Ppackage,release clean install
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 609235)
    Remaining Estimate: 0h
            Time Spent: 10m

> HA dispatch should failover regardless of noFallback config until session is established
> ----------------------------------------------------------------------------------------
>
>                 Key: KNOX-2619
>                 URL: https://issues.apache.org/jira/browse/KNOX-2619
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.6.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When enableStickySession=true and noFallback=true, and the attempt to establish the session fails, the ConfigurableHaDispatch does not failover because of the noFallback configuration.
> Instead, it should failover until a session can be established, and then honor the noFallback configuration from that point forward.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)