[CSHARP-2745] Change `compressor` field in `MongoClientSettings` to be able to consider this field as `set` instead `list` Created: 16/Sep/19 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Configuration |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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` |