← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1253829] Re: HorizonMiddleware class causes excessive session rewrites and possible race condition resulting in logouts

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1253829

Title:
  HorizonMiddleware class causes excessive session rewrites and possible
  race condition resulting in logouts

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  the horizon middleware is checking for timestamps and modifying
  last_activity for nearly every request....  this is bad in the case of
  ajax requests for a couple of reasons...

  A)  ajax requests can be an order or magnitude greater than regular
  requests.... making the session backend get thrashed.

  II)  if you try to switch project context from a page where you have
  several longer running ajax requests going on, it is possible the
  longer running ajax requests will update your session with older
  tokens.   The user will seem to be logged out at this point, and
  really frustrated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1253829/+subscriptions