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

Time-series resume query doesn't contain `postBatchResumeToken` field

    • Query Integration
    • ALL

      > db.runCommand({find: "test", hint: {$natural: 1}, $_requestResumeToken: true})
      {
              "cursor" : {
                      "firstBatch" : [
                              {
                                      "_id" : 1,
                                      "c" : 1,
                                      "d" : 1,
                                      "x" : 1,
                                      "time" : ISODate("2024-01-12T22:27:24.559Z"),
                                      "z" : 1
                              },
                              {
                                      "_id" : {
                                              "a" : 4,
                                              "b" : 1
                                      }
                              },
                              {
                                      "_id" : ObjectId("65a6f436b38d729d958c68b1"),
                                      "a" : [
                                              1,
                                              2
                                      ]
                              }
                      ],
                      "postBatchResumeToken" : {
                              "$recordId" : NumberLong(3)
                      },
                      "id" : NumberLong(0),
                      "ns" : "test.test"
              },
              "ok" : 1
      }
      > db.runCommand({find: "ts", hint: {$natural: 1}, $_requestResumeToken: true})
      {
              "cursor" : {
                      "firstBatch" : [
                              {
                                      "time" : ISODate("2024-01-12T22:28:32.998Z"),
                                      "d" : 1,
                                      "_id" : 1,
                                      "c" : 1
                              },
                              {
                                      "time" : ISODate("2024-01-16T18:41:20.597Z"),
                                      "_id" : {
                                              "a" : 1,
                                              "b" : 1
                                      }
                              }
                      ],
                      "id" : NumberLong(0),
                      "ns" : "test.ts"
              },
              "ok" : 1
      } 

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: