Change `compressor` field in `MongoClientSettings` to be able to consider this field as `set` instead `list`

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Consider changing `Compressor` field from `IReadOnlyList` into `IReadOnlyDictionary` in `MongoClientSettings`. It will give us a chance to make comparing logic in `ClusterKey` regardless of compression items order in the compression set.

      In case if it's a breaking change we can consider to add sorting of these fields somewhere before comparing in `ClusterKey.Equals`

              Assignee:
              Unassigned
              Reporter:
              Dmitry Lukyanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: