[CSHARP-2762] Support compression against server version 3.4 Created: 27/Sep/19  Updated: 03/Dec/20  Resolved: 03/Dec/20

Status: Closed
Project: C# Driver
Component/s: Connectivity
Affects Version/s: 2.9.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The current C# driver side implementation of compression only works with OP_MESSAGE, which in turn was introduced in server 3.6.

However, compression itself was introduced in server 3.4.

The C# driver currently has issues when compression is configured and the server is version 3.4.

One issue is that we don't compress OP_QUERY messages sent to the server.

Another issue is that we don't always handle OP_COMPRESSED replies from the server correctly (in particular when raising CommandStartedEvent).



 Comments   
Comment by Jeffrey Yemin [ 03/Dec/20 ]

This no longer seems worth doing, as 3.4 is soon to be EOL.

Generated at Wed Feb 07 21:43:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.