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

Investigate changing CachedCollectionProperties to be keyed with NamespaceString object

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-03-06, Server Serverless 2023-03-20, Server Serverless 2023-04-03

    Description

      Today, collection properties which are relevant for oplog application are cached in memory and can be retrieved with string ns. There some potential issues:

      • the tenant id is dropped off.
      • the code will not keep working once NamespaceString(StringData ns) constructor is removed by SERVER-65920.

      In this ticket, we will investigate if it makes sense to leave it as a StringMap for some optimization reason or not. If we decide to leave it as a StringMap, we should think about  to pass in tenant prefixed ns string and deserialize it correctly. 

      Attachments

        Activity

          People

            sophia.tan@mongodb.com Sophia Tan
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: