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

[SBE] A lost cursor position is not detected for tailable cursors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Hide
      resmoke run --suites=no_passthrough_with_mongod --mongodSetParameters='{featureFlagSBE: true}' jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js
      Show
      resmoke run --suites=no_passthrough_with_mongod --mongodSetParameters='{featureFlagSBE: true}' jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js
    • Query Execution 2021-05-03

       

      [js_test:captrunc_cursor_invalidation] assert: command worked when it should have failed: {
      [js_test:captrunc_cursor_invalidation] 	"cursor" : {
      [js_test:captrunc_cursor_invalidation] 		"nextBatch" : [ ],
      [js_test:captrunc_cursor_invalidation] 		"id" : NumberLong("6632961020492117944"),
      [js_test:captrunc_cursor_invalidation] 		"ns" : "test.captrunc_cursor_invalidation"
      [js_test:captrunc_cursor_invalidation] 	},
      [js_test:captrunc_cursor_invalidation] 	"ok" : 1
      [js_test:captrunc_cursor_invalidation] }
      [js_test:captrunc_cursor_invalidation] _getErrorWithCode@src/mongo/shell/utils.js:25:13
      [js_test:captrunc_cursor_invalidation] doassert@src/mongo/shell/assert.js:18:14
      [js_test:captrunc_cursor_invalidation] _assertCommandFailed@src/mongo/shell/assert.js:772:17
      [js_test:captrunc_cursor_invalidation] assert.commandFailedWithCode@src/mongo/shell/assert.js:833:16
      [js_test:captrunc_cursor_invalidation] @jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js:31:1
      [js_test:captrunc_cursor_invalidation] @jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js:5:2
      [js_test:captrunc_cursor_invalidation] uncaught exception: Error: command worked when it should have failed: {
      [js_test:captrunc_cursor_invalidation] 	"cursor" : {
      [js_test:captrunc_cursor_invalidation] 		"nextBatch" : [ ],
      [j2] {"t":{"$date":"2021-04-11T16:08:37.348+00:00"},"s":"W",  "c":"EXECUTOR", "id":4910400, "ctx":"conn24","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
      [j2] {"t":{"$date":"2021-04-11T16:08:37.348+00:00"},"s":"I",  "c":"NETWORK",  "id":5127900, "ctx":"conn24","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
      [js_test:captrunc_cursor_invalidation] 		"id" : NumberLong("6632961020492117944"),
      [js_test:captrunc_cursor_invalidation] 		"ns" : "test.captrunc_cursor_invalidation"
      [js_test:captrunc_cursor_invalidation] 	},
      [js_test:captrunc_cursor_invalidation] 	"ok" : 1
      [js_test:captrunc_cursor_invalidation] } :
      [js_test:captrunc_cursor_invalidation] _getErrorWithCode@src/mongo/shell/utils.js:25:13
      [js_test:captrunc_cursor_invalidation] doassert@src/mongo/shell/assert.js:18:14
      [js_test:captrunc_cursor_invalidation] _assertCommandFailed@src/mongo/shell/assert.js:772:17
      [js_test:captrunc_cursor_invalidation] assert.commandFailedWithCode@src/mongo/shell/assert.js:833:16
      [js_test:captrunc_cursor_invalidation] @jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js:31:1
      [js_test:captrunc_cursor_invalidation] @jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js:5:2
      [js_test:captrunc_cursor_invalidation] failed to load: jstests/noPassthroughWithMongod/captrunc_cursor_invalidation.js
      [js_test:captrunc_cursor_invalidation] exiting with code -3

      Task.
       

            Assignee:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: