[SERVER-54927] Move away from using Bson_serialization_type “any” Created: 03/Mar/21 Updated: 29/Oct/23 Resolved: 25/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Moustafa Maher | Assignee: | Moustafa Maher |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Sprint: | Repl 2021-03-22, Repl 2021-04-05 |
| Participants: |
| Description |
|
Using Bson_serialization_type “any” means that idl compatibility checker script can’t do any type checking, since that logic is in cpp, so we want to disallow this type from parameters/reply fields as a result. However, lots of commands actually use it for valid reasons. src/mongo/db/repl/hello.idl
Take a look at these fields and try to identify which ones can be converted away from using Bson_serialization_type “any”, and which ones must keep using it.
2- if the field can't be converted, or the change can't be done before 5.0.
|
| Comments |
| Comment by Githook User [ 25/Mar/21 ] |
|
Author: {'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}Message: |
| Comment by Githook User [ 25/Mar/21 ] |
|
Author: {'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}Message: |