[SERVER-38796] CollectionOptions::parse should be static Created: 28/Dec/18  Updated: 29/Oct/23  Resolved: 28/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Daniel Solnik (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-06-17, Execution Team 2019-07-01
Participants:

 Description   

Right now parse is non-static and fills in the object; this makes it hard to write safe code. See SERVER-38794



 Comments   
Comment by Githook User [ 28/Jun/19 ]

Author:

{'name': 'Daniel Solnik', 'email': 'dan.solnik@Daniels-MacBook-Pro-3.local'}

Message: SERVER-38796 Refactor CollectionOptions::parse to be static
Branch: master
https://github.com/mongodb/mongo/commit/00d0b83b4e0940acf5aeb4496101f71a6be02d17

Comment by Githook User [ 26/Jun/19 ]

Author:

{'name': 'Daniel Solnik', 'email': 'dansolnik@gmail.com', 'username': 'Dsolnik'}

Message: Revert "SERVER-38796 Refactor CollectionOptions::parse to be static"

This reverts commit f16da96fdbb9a151cbc9890802c53370298b4fd2.
Branch: master
https://github.com/mongodb/mongo/commit/1656c151d450aa14b1bad1abbc95924d1861def1

Comment by Githook User [ 26/Jun/19 ]

Author:

{'name': 'Daniel Solnik', 'email': 'dan.solnik@Daniels-MacBook-Pro-3.local'}

Message: SERVER-38796 Refactor CollectionOptions::parse to be static
Branch: master
https://github.com/mongodb/mongo/commit/f16da96fdbb9a151cbc9890802c53370298b4fd2

Comment by Kaloian Manassiev [ 28/Dec/18 ]

Can it maybe also be converted to IDL?

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