[SERVER-10275] Reduce modifier implementation boilerplate in new update framework Created: 21/Jul/13  Updated: 06/Dec/22  Resolved: 01/Jul/19

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

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Backlog - Query Team (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Participants:

 Description   

Many of the modifier implementations have redundant blocks that can be factored out into support code. Similarly, many mods simply log the affected element as is, or log an entire array. We should provide utility functions to facilitate these simple logging styles. There are also some slight impedance mismatches between various parts of the existing support code. We should clean those up to reduce the need for things like casts, fenceposts, etc.



 Comments   
Comment by Asya Kamsky [ 30/Jun/19 ]

Is this still relevant post-3.6 update re-write?

 

Comment by auto [ 23/Jul/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-10159 SERVER-10275 Simplify field name and in-place update support in mutable
Branch: master
https://github.com/mongodb/mongo/commit/32ecefa73b82c45dd40701cbd64275fbfed11e4c

Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-10275 Use size_t in pathsupport function
Branch: master
https://github.com/mongodb/mongo/commit/4e2b1743b1366a5c6f943dbb40df2d19ac190da5

Generated at Thu Feb 08 03:22:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.