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

Introduce fetch registry in BucketCatalog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      We will want a registry in the BucketCatalog (most likely owned by a Stripe) to keep track of buckets we are fetching. When we add a bucket to the registry, it should be keyed by _id and store and a promise which other threads can wait on if they are interested in fetching the same bucket to avoid duplicate work. The initial thread should be able to either report an error and abort the fetch, or report success and provide the fetched bucket.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: