[SERVER-29262] Retire usage of `OwnedPointerVector` in `write_ops`. Created: 17/May/17  Updated: 30/Oct/23  Resolved: 02/Dec/21

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

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: Fausto Leyva (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
is related to SERVER-62247 Avoid making copies of the vector in ... Closed
is related to SERVER-61821 Retire usage of `OwnedPointerMap` Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-05-29, Execution Team 2021-12-13
Participants:
Linked BF Score: 20

 Comments   
Comment by Githook User [ 01/Dec/21 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-29262 Retire usage of `OwnedPointerVector` in `write_ops`.
Branch: master
https://github.com/mongodb/mongo/commit/5574e83d9e5df11dd3ca9cf0151ada223edd3ec2

Comment by Yuhong Zhang [ 24/Nov/21 ]

Sounds good. I'll give it to a new grad as a starting task.

Comment by Daniel Gottlieb (Inactive) [ 24/Nov/21 ]

I couldn't speak to its priority, but removing this would presumably be a nice simple thing to do.

Comment by Yuhong Zhang [ 23/Nov/21 ]

daniel.gottlieb just to confirm, we would like to get rid of OwnedPoitnerVector from our codebase completely?

Comment by Daniel Gottlieb (Inactive) [ 04/Jan/21 ]

Re-opening as SERVER-28992 did not remove all usages in BatchWriteOp. The other usages are `geo/shapes.h` and unittests.

Comment by Kaloian Manassiev [ 17/May/17 ]

Just FYI - that as part of the work on SERVER-28992, the mongos write commands execution will be rewritten and classes like WriteOp/BatchWriteExec will be deleted. If removing OwnedPointerVector from there is not blocking you in some way, I would wait until SERVER-28992 is done.

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