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

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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2019-07-01
    • Linked BF Score:
      5

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: