[CSHARP-3948] Add support for FLE_MONGOCRYPTD_PORT environment variable Created: 01/Nov/21  Updated: 28/Oct/23  Resolved: 05/Nov/21

Status: Closed
Project: C# Driver
Component/s: Field Level Encryption, Testing
Affects Version/s: None
Fix Version/s: 2.14.0

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

Issue Links:
Related
related to CSHARP-3951 Get all tests to pass against a clust... Closed

 Description   

Currently tests require mongocryptd to be on port 27020.

But that conflicts with sharded clusters started up using mlaunch, which also use port 27020 for all but the simplest clusters.

Add support for an optional FLE_MONGOCRYPTD_PORT environment variable to override the port which will be used for mongocryptd.

A good value for the new FLE_MONGOCRYPTD_PORT environment variable could be 27030.



 Comments   
Comment by Githook User [ 15/Nov/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3948: Follow-up changes. (#681)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/219cc4ff918eb14f1b039e78e016139fc408223b

Comment by Githook User [ 05/Nov/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3948: Add support for FLE_MONGOCRYPTD_PORT environment variable. (#669)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/60ad0c84b164c0648eabe7dea72aa6d94f8289aa

Comment by Robert Stam [ 01/Nov/21 ]

This has to include configuring the port on mongocryptd when auto spawning mongocryptd.

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