[SERVER-43964] requirement that IDL types be friends of UUID is surely unnecessary Created: 11/Oct/19  Updated: 29/Oct/23  Resolved: 24/Apr/21

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
is related to SERVER-52909 Nonexistent class VoteCommitImportCol... Closed
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 173

 Description   

Class UUID has 21 friends as of this writing.

This requirement that a generated type has to be mentioned in a basic building block type like UUID is a design flaw we can fix pretty easily.



 Comments   
Comment by Githook User [ 23/Apr/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-43964 UUID etc need not befriend IDL types

Make idl's empty ChunkRange construction allowed again

This reverts commit aa2bbde8810ae9de83d6d0f1adbd364ed52cde32.
Branch: master
https://github.com/mongodb/mongo/commit/e7ff74c0cbc489e4824802ce5ad2264f2056f4da

Comment by Githook User [ 22/Apr/21 ]

Author:

{'name': 'Uladzimir Makouski', 'email': 'uladzimir.makouski@mongodb.com', 'username': 'umakouski'}

Message: Revert "SERVER-43964 UUID etc need not befriend IDL types"

This reverts commit 8f4dbd6889eb9534da7af27729aa0c2edea532f0.
Branch: master
https://github.com/mongodb/mongo/commit/aa2bbde8810ae9de83d6d0f1adbd364ed52cde32

Comment by Githook User [ 22/Apr/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-43964 UUID etc need not befriend IDL types
Branch: master
https://github.com/mongodb/mongo/commit/8f4dbd6889eb9534da7af27729aa0c2edea532f0

Comment by Billy Donahue [ 20/Apr/21 ]

Code Review https://mongodbcr.appspot.com/776310066/

Comment by Billy Donahue [ 08/Jul/20 ]

I'd rather discuss here than in a doc off to the side. It's not that hard a problem, so I think we can discuss efficiently. This is IMO a more durable and discoverable record than a doc (I don't have access to that doc).

Comment by Matthew Saltz (Inactive) [ 08/Jul/20 ]

This is also true for ChunkRange, but with fewer cases.

Generated at Thu Feb 08 05:04:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.