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

Index Build Coordinator to use TenantId object instead of StringData

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-12-12
    • 0

      We should make changes to the index_build_coordinator to support using TenantId objects. Most of the work seems to be done within the methods however we should still pass a TenantId object instead of a StringData.
       
      abortTenantIndexBuilds is still a StringData when calling ClonerUtils::isDatabaseForTenant which will be addressed in SERVER-70027 which should be done once SERVER-71187 is merged to master.

      We are also going to use SERVER-71669 to clean-up some method that had to be re-defined (instead of replaced) to use a TenantId object. Part of that ticket will be to remove the old methods (still using StringData) to leave room for only using the TenantId methods once the tenant migration code switches to using only TenantId objects.

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: