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

Show view namespaces in the LockManager's ResourceId::toString() function

    • Fully Compatible
    • v4.2
    • Execution Team 2019-07-01
    • 5

      In SERVER-39902, the lock managers ResourceId class started using the UUIDCatalog to resolve its namespace when calling the toString() function. However, views do not get tracked in the UUIDCatalog and they cannot resolve their namespaces as a consequence. We should make it so that we can also resolve view namespaces in the ResourceId class.

      One way we could do this is by extending the functionality of ViewCatalog::lookup() function to take in ResourceId's and return the relevant namespace, if it exists. We would also require a similar way to keep track of ResourceIds -> NamespaceStrings, like in the UUIDCatalog.

            Assignee:
            dan.solnik@mongodb.com Daniel Solnik (Inactive)
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: