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`

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Configuration
    • None

    Description

      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`

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: