[SERVER-85322] Time-series resume query doesn't contain `postBatchResumeToken` field Created: 17/Jan/24  Updated: 18/Jan/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Backlog - Query Integration
Resolution: Unresolved Votes: 0
Labels: neweng, qi-timeseries, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Integration
Operating System: ALL
Participants:

 Description   

> 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
} 


Generated at Thu Feb 08 06:57:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.