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

Remove ClosedBuckets

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2025-02-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Before the alwaysCompressedBuckets project, we would only compress buckets upon closing them. To keep track of these buckets we would store them in the ClosedBuckets vector. However, now that the project is released, we do not actually use this struct anywhere. 

      We can remove it from the following:

      bucket_catalog_internal::doRollover
      bucket_catalog_internal::closeOpenBucket
      bucket_catalog_internal::closeOpenBucket (the other implementation)
      bucket_catalog_internal::archiveBucket
      bucket_catalog_internal::expireIdleBuckets
      bucket_catalog_internal::reopenBucket

      We should also be able to remove all higher-level references to it, remove it as a member of InsertContext and SuccessfulInsertion, and then finally get rid of the class entirely.

       

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: