Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2745

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • 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 Unassigned
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: