-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Load Balancer
Use Case
Attempting to set a collation on a load balanced topology for a find and modify command throws the following error:
MongoCompatibilityError: Current topology does not support collation
The root cause of this issue is that the driver check's the topology's ServerCapabilities object to determine if collation is supported, but this class depends on the lastHello() received during monitoring, but we never monitor in load balanced mode so ServerCapabilities reports `false` for collation support.
Other helpers in the driver do not have this issue.
The best thing to do is probably just remove the restriction and let the server error if collation isn't supported.
User Impact
- Unsure - This only impacts users using load balancers and find and modify commands with collation. note that collation isn't supported on serverless clusters, so this doesn't impact serverless users.
Dependencies
- n/a
Unknowns
- n/a
Acceptance Criteria
Implementation Requirements
Testing Requirements
- Unskip failing unified tests.
Documentation Requirements
- n/a
Follow Up Requirements
- n/a
- is related to
-
NODE-6404 Build commands after connection checkout
- Backlog