[SERVER-60424] TenantOplogFetcher times out on recreating aggregation cursor Created: 04/Oct/21  Updated: 29/Oct/23  Resolved: 08/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.0-rc3, 5.0.5

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-57617 Have the OplogFetcher in Tenant Migra... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: Repl 2021-10-18
Participants:
Linked BF Score: 52

 Description   

In OplogFetcher, we use a different timeout on recreating the cursor. And after SERVER-57617, the oplog fetcher no longer uses a tailable cursor and we re-create a new cursor every time the cursor is exhausted. And this uses a 2s timeout because of this.

We could consider using a larger timeout in this case. But we should understand whether it is expected for the aggregation to exceed the 2s timeout.



 Comments   
Comment by Githook User [ 03/Nov/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-60424 Have TenantOplogFetcher recreate cursors with initial maxTimeout

(cherry picked from commit 9c229633f98be337d0fe676c2b4b7b1aa5cf4f61)
Branch: v5.0
https://github.com/mongodb/mongo/commit/a31519b4ef1b96fbf854371cb7d7af553c497c2c

Comment by Githook User [ 27/Oct/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-60424 Have TenantOplogFetcher recreate cursors with initial maxTimeout

(cherry picked from commit 9c229633f98be337d0fe676c2b4b7b1aa5cf4f61)
Branch: v5.1
https://github.com/mongodb/mongo/commit/fe85da675e17eba36184954345eeff023e04a1fb

Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-60424 Have TenantOplogFetcher recreate cursors with initial maxTimeout
Branch: master
https://github.com/mongodb/mongo/commit/9c229633f98be337d0fe676c2b4b7b1aa5cf4f61

Generated at Thu Feb 08 05:49:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.