[SERVER-49681] Move persistent task store under db Created: 17/Jul/20  Updated: 29/Oct/23  Resolved: 21/Jul/20

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

Type: Improvement Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-07-27
Participants:

 Description   

Ticket repurposed following CR discussion.
PersistentTaskStore dependencies have always been indirectly compiled by other targets, resulting sometimes in an unclear dependency graph: for example, those two dependencies are necessary to use PersistentTaskStore, but it's not straightforward to understand why VectorClockMongoD depends on them.

Since there are more targets "secretly" depending on PersistentTaskStore, it would be useful to better modularize it by creating a persistent_task_store SCons target and refer it in dependent libraries.

As the component is not just sharding related:

  • Move the files from db/s to db.
  • Make PersistentTaskStoreTest not extend ShardServerTestFixture and not refer any sharding-specific feature.


 Comments   
Comment by Githook User [ 20/Jul/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-49681 Move persistent task store under db
Branch: master
https://github.com/mongodb/mongo/commit/34b09564b149617f25be3526faff28b16e5859a8

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