Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-459

Find and Modify command

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0
    • Affects Version/s: None
    • Component/s: Usability
    • None

      It would be nice to have an atomic modify-and-return feature that could do either an update or a remove. This could be used to support queue-like features by either marking jobs as 'in-progress' or simply removing them.

      For maximum flexibility we should be able return either the original or the updated version based on an optional parameter.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: