Investigate changing CachedCollectionProperties to be keyed with NamespaceString object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-03-06, Server Serverless 2023-03-20, Server Serverless 2023-04-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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. 

            Assignee:
            Sophia Tan (Inactive)
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: