Remove reduntant ShardDatabaseType

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is no difference between ShardDatabaseType and DatabaseType. In particular entries in config.cache.databases could have the enterCriticalSectionCounter additional field. This field is always modified manually and is not part of the serialization/deserialization of ShardDatabaseType . So we can just remove ShardDatabaseType and directly usee DatabaseType also on shards.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: