Initialize CollectionShardingStateFactory on BM_UnshardedDestinedRecipient

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-11-14
    • 57
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BM_UnshardedDestinedRecipient does not initialize any CollectionShardingStateFactory. However, after SERVER-69435, ShardingWriteRouter always accesses the CollectionShardingState, therefore its factory needs to be initialized. Since this particular benchmark targets a replicaSet environment, a `CollectionShardingStateFactoryStandalone` should be used.

              Assignee:
              Jordi Serra Torrens
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: