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

add atomic output collection to DBQuery

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None

      Description

      A Map/Reduce query can atomically output its results to a separate collection, which is nice for a job where you want to create "views" of the data that you can then query within.

      It would be nice if immediate queries could do the same thing, eg.

      db.mycollection.find(

      {hasAttachments:true}

      ).out(attachcollection);

      It could operate asynchronously, and attachcollection would remain unmodified until the query was complete after which it would be atomically swapped with the temporary collection in which the new results reside.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: