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

Rename getBucketState to make side effects more apparent

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2024-08-05

      The getBucketState function that retrieves a time-series bucket state from the registry has side effects on the registry. Namely, it can perform some deferred work related to namespace clearing logic. While this is documented in the function comment, it is not apparent at the call site, and can lead to confusion.

            Assignee:
            matt.kneiser@mongodb.com Matt Kneiser
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: