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

Circular dependency between CollectionPtr and all of the index catalog structures

    • Fully Compatible
    • v7.0, v6.3
    • Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03, Sharding EMEA 2023-04-17, Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15
    • 0

      In the current StorEx architecture, all of the IndexAccessMethod implementations are hierarchically subordinate to the CollectionPtr (via Collection) and they are all in different libraries. However, at the same time they all depend and call back into the owning CollectionPtr or into other parts of the hierarchy.

      This creates a circular dependency.

      This ticket is to resolve that circular dependency, by placing them all into the shard_role_api library, since these all are interfaces into the ShardRole.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: