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

Find and Modify command

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.0
    • None
    • Usability
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: