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

Remove intermidiate CachedDatabaseInfo wrapper class

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-07

    Description

      All the functions of the CatalogCache that returns a database wrap the result inside a CachedDatabaseInfo class. This is really unecessary in fact all the methods of the CachedDatabaseInfo class are simply a passthrough to the underlying TypeDatabase object functions.

      The goal of this ticket is to get rid of the intermediate wrapper class and simply convert CachedDatabaseInfo to an alias of DatabaseTypeValueHandle

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: