Embedded doc touch updates should be done concurrently with other persistence operations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      As per discussion in this PR: https://github.com/mongodb/mongoid/pull/5045, contrary to expectation, "touch" operations on embedded docs when the parent doc is saved are done in a different write operation than primary .save write operation.

      The code should be refactored so that there is one write operation which includes both the touch updates and the save updates.

            Assignee:
            Unassigned
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: