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

Anonymous Garbage Collected/Temporary Collection

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Usability
    • Query

    Description

      It would be useful to be able to create temporary anonymous collections, in order to fake big transactions.

      Right now (in java) I am using the hack of running a .find() on a new collection that I make, and then a .toArray() on the cursor that is returned, and then inserting the resulting list to my main collection. Then I drop my collection. But even if I forgot to drop the collection, it would be nice for it to disappear. Also, it is annoying to have to generate a random string to support multithreading this.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            nakamura Moses Nakamura
            Votes:
            10 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: