Uploaded image for project: 'appNG Tomcat Session'
  1. appNG Tomcat Session
  2. ATS-14

Erroneous concurrency behavior for newly created session after a user logged in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.2.0, 0.2.1
    • Labels:
      None

      Description

      In a rare scenario, because of thread concurrency, the MongoStore is not able to retrieve the newly created session after a user logged in.
      This is due to the fact that a logged in user gets a new session that might not have been persisted by the handling thread before a new request for that session arrives.

      So the obvious solution for this is to save the session as soon it has been created.

        Attachments

          Activity

            People

            • Assignee:
              mueller.matthias Matthias Müller
              Reporter:
              mueller.matthias Matthias Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: