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

Introduce fetch registry in BucketCatalog

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      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.

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

              Created:
              Updated:
              Resolved: