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

getMore in session while running with TLS fails

    • Fully Compatible
    • ALL
    • v4.0
    • Hide
      1. Download attached repro.js.
      2. Run the following
        python buildscripts/resmoke.py --suites=ssl repro.js
        

      The test doesn't seem to reproduce if the sharded cluster is not set up with SSL/TLS. It also seems to only impact listIndexes cursors, it does not affect find cursors or even aggregate cursors which are also globally managed.

      The test is not fixed by applying the patch for SERVER-34204.

      Show
      Download attached repro.js . Run the following python buildscripts/resmoke.py --suites=ssl repro.js The test doesn't seem to reproduce if the sharded cluster is not set up with SSL/TLS. It also seems to only impact listIndexes cursors, it does not affect find cursors or even aggregate cursors which are also globally managed. The test is not fixed by applying the patch for SERVER-34204 .
    • Sharding 2018-06-04

      When executing a query as part of a session with TLS enabled the following error is encountered:

      [js_test:repro] 2018-04-17T11:08:01.187-0400 2018-04-17T11:08:01.187-0400 E QUERY    [js] Error: getMore command failed: {
      [js_test:repro] 2018-04-17T11:08:01.187-0400 	"ok" : 0,
      [js_test:repro] 2018-04-17T11:08:01.187-0400 	"errmsg" : "Cannot run getMore on cursor 4981479160386133211, which was created in session 5da04883-17b4-4bbc-94f4-0f60a813cb17 - u4nTF1+wmByGgmwndZCCo3FgRx9gUEtGEkFRhsYwq3A=, in session 5da04883-17b4-4bbc-94f4-0f60a813cb17 - O0CMtIVItQN4IsEOsJdrPL8s7jv5xwh5a/A5Qfvs2A8=",
      [js_test:repro] 2018-04-17T11:08:01.187-0400 	"code" : 50738,
      [js_test:repro] 2018-04-17T11:08:01.187-0400 	"codeName" : "Location50738",
      [js_test:repro] 2018-04-17T11:08:01.187-0400 	"$clusterTime" : {
      [js_test:repro] 2018-04-17T11:08:01.187-0400 		"clusterTime" : Timestamp(1523977681, 8),
      [js_test:repro] 2018-04-17T11:08:01.187-0400 		"signature" : {
      [js_test:repro] 2018-04-17T11:08:01.188-0400 			"hash" : BinData(0,"5Sn0WMbpAp0oecdpFLyUH8/dhZg="),
      [js_test:repro] 2018-04-17T11:08:01.188-0400 			"keyId" : NumberLong("6545434278254084125")
      [js_test:repro] 2018-04-17T11:08:01.188-0400 		}
      [js_test:repro] 2018-04-17T11:08:01.188-0400 	},
      [js_test:repro] 2018-04-17T11:08:01.188-0400 	"operationTime" : Timestamp(1523977681, 8)
      [js_test:repro] 2018-04-17T11:08:01.188-0400 } :
      

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: