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

sessionId use in "connection accepted" server log

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: 4.4.0-rc11
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4

      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?

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: