[SERVER-63847] Complete TODO listed in SERVER-44105 Created: 18/Feb/22  Updated: 29/Oct/23  Resolved: 20/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: autogen-todo, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-44105 Perform ShardServerCatalogLoader writ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19, Sharding EMEA 2022-10-03
Participants:

 Description   

There is a TODO in the codebase referencing a resolved ticket which is assigned to you.

Please follow this link to see the lines of code referencing this resolved ticket:
https://github.com/mongodb/mongo/search?q=SERVER-44105&type=Code

The next steps for this ticket are to either remove the outdated TODO or follow the steps in the TODO if it is correct. If the latter, please update the summary and description of this ticket to represent the work you're actually doing.



 Comments   
Comment by Githook User [ 20/Sep/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-63847 Complete TODO listed in SERVER-44105
Branch: master
https://github.com/mongodb/mongo/commit/05a9613d1ca645467dd98b915b3ffd0a4a84e9dc

Comment by Randolph Tan [ 14/Sep/22 ]

antonio.fuschetto@mongodb.com, we now have transaction API in the server so the comment is obsolete. I also wrote up a doc back then explaining the issue with some potential suggestions to fix it (SERVER-42737 is suggestion#2). There are a couple of them that don't involve transactions if we don't want to use it.

Comment by Antonio Fuschetto [ 14/Sep/22 ]

randolph@mongodb.com, the shard server catalog cache loader (SSCCL) doesn't write in a single transaction, and the related ticket (SERVER-44105) has been closed as "Won't do" as we don't have a framework for executing transactions within the server.

Do we have any other API/infrastructure to use so that we can get rid of BlockSecondaryReadsDuringBatchApplication_DONT_USE? This is also used use in AutoGetCollectionForReadBase, which seems to me independent of what we do in the SSCCL.

Comment by Cris Insignares Cuello [ 24/Feb/22 ]

This requires investigation to know if we just need to remove the ToDos or if we need something more.

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