[CSHARP-3984] Remove BinaryConnection.DropBox Created: 03/Dec/21  Updated: 31/Mar/22

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

Type: Improvement Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This class has no longer purpose since we're removing supporting of servers less than 3.6 in CSHARP-3854. This class potentially causes issues mentioned in CSHARP-3165. So it's better to remove it.



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 04/Mar/22 ]

Moved to open due to found unexpected behavior and low priority

Comment by Robert Stam [ 06/Dec/21 ]

Removing the dropbox is only tangentially related to server version.

The original purpose of the dropbox was to support multiplexing on a connection, which involves sending the server multiple commands at a time before waiting for each reply and possibly receiving replies out of order. In the end we decided never to multiplex but the dropbox remained in place nonetheless. It’s the fact that we no longer intend to support multiplexing that means we can remove the dropbox.

The way it is related to server version is that the dropbox can be configured to ignore replies from the server that we're not interested in. We use that feature for unacknowledged writes in older server versions. In newer server versions we instead use the `moreToCome` flag of OP_MSG.

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