session refresh does not use localLogicalSessionTimeoutMinutes to delete old sessions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Community Answered
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.2.3
    • Component/s: None
    • None
    • ALL
    • Hide

      set localLogicalSessionTimeoutMinutes: 120 and cursorTimeoutMillis : 7200000

      restart mongoDB,

      start a cursor, get a few records and wait for 40mn, issue a getMore on the cursor (try to retrieve all the cursor's values).

      You'll get a cursorNotFound error

      Show
      set localLogicalSessionTimeoutMinutes: 120 and cursorTimeoutMillis : 7200000 restart mongoDB, start a cursor, get a few records and wait for 40mn, issue a getMore on the cursor (try to retrieve all the cursor's values). You'll get a cursorNotFound error
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you change localLogicalSessionTimeoutMinutes parameter to a value greater then 30, for example 120, sessions are still deleted after 30mn. And the attached cursors are deleted too

       

      2020-03-11T14:42:57.041+0000 I QUERY [LogicalSessionCacheRefresh] killing cursor: 4547660581473595061 as part of killing session(s)

      program was started at 14:07 

       

        1. mongod.log.1
          79 kB
          Remi Jolin

              Assignee:
              Dmitry Agranat
              Reporter:
              Remi Jolin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: