[SERVER-55899] Move away from using Bson_serialization_type “any” - Collation Created: 08/Apr/21 Updated: 29/Oct/23 Resolved: 29/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Milena Ivanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query Optimization 2021-05-03 | ||||||||||||||||
| 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/commands/create.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 [ 05/May/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: |
| Comment by Milena Ivanova [ 29/Apr/21 ] |
|
This task adds unit tests for the serialization/ deserialization of IDL optionalBool type. The |
| Comment by Githook User [ 28/Apr/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: |
| Comment by Connie Chen [ 08/Apr/21 ] |
|
Reassigning to to Query as we think they are the best team to address. This is definitely 5.0 required. |
| Comment by Benety Goh [ 08/Apr/21 ] |
|
Originally filed as part of The Collation IDL specification affects a different part of the server from CommitQuorum and requires different context. CC: m.maher |