[DRIVERS-2770] Need a spec test for the UNIX domain socket case sensitivity Created: 08/Nov/23 Updated: 08/Dec/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Connection String |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Qingyang Hu | Assignee: | Qingyang Hu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Summary of necessary driver changes
Commits for syncing spec/prose tests Context for other referenced/linked tickets |
||||||||||||||||||||||||||||||||||||||||||||||||
| Engineering Lead: | |
||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryWhat is the problem or use case, what are we trying to achieve? The current spec states Hostnames are normalized to lower-case. However, there does not exist a spec test for the case sensitivity of UNIX domain sockets. Being a file path on a UNIX-like file system, the socket name should be case-sensitive. Therefore, we need a spec test in, for example, https://github.com/mongodb/specifications/blob/master/source/connection-string/tests MotivationWho is the affected end user?Who are the stakeholders? Customers who use the connection over a UNIX socket. How does this affect the end user?Are they blocked? Are they annoyed? Are they confused? The concern was reported at How likely is it that this problem or use case will occur?Main path? Edge case? Every driver that allows the UNIX socket. If the problem does occur, what are the consequences and how severe are they?Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete? It breaks the expectation of the naming convention on a UNIX-like system. Is this issue urgent?Does this ticket have a required timeline? What is it? No. Is this ticket required by a downstream team?Needed by e.g. Atlas, Shell, Compass? No. Is this ticket only for tests?Does this ticket have any functional impact, or is it just test improvements? May need functional changes, at least for the Go driver. Acceptance CriteriaWhat specific requirements must be met to consider the design phase complete? Ensure the UNIX socket names are case-sensitive. |
| Comments |
| Comment by Githook User [ 08/Dec/23 ] |
|
Author: {'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}Message: DRIVERS-2770 Add connection string tests for uppercase UNIX socket names (#1477) |