Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49417

sessionId use in "connection accepted" server log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0-rc11
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4

      Description

      I see the following entries in my server log:

      {"t":{"$date":"2020-07-09T22:36:12.727-04:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"127.0.0.1:37914","sessionId":9294,"connectionCount":9}}
      {"t":{"$date":"2020-07-09T22:36:12.729-04:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"127.0.0.1:37916","sessionId":9295,"connectionCount":10}}
      {"t":{"$date":"2020-07-09T22:36:12.730-04:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"127.0.0.1:37918","sessionId":9296,"connectionCount":11}}
      

      By "sessionId" does the server mean "connectionId"? If so I expect the field to be called "connectionId".

      • Is this the same value as what ismaster returns under connectionId field?
      • Is this the same value which is later referenced as "conn9294" etc. in subsequent log entries?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              billy.donahue Billy Donahue
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: