Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25468

Add index in Multi-tenant Directory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Multitenancy support

      Description

      When a directory is set as multi-tenant, every request is made by filtering the tenant id. So, it looks like it does make sense to add an index on it.

      Looks like a hashed index is the way to go: https://docs.mongodb.com/manual/core/hashed-sharding/#sharding-hashed-sharding

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: