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

Move persistent task store under db

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2020-07-27

    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.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: