Uploaded image for project: 'SlamData'
  1. SD-859

support writing to pre-sharded and / or pre-indexed collections

    Details

    • Type: Improvement
    • Status: To Do
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: 3.1
    • Component/s: None
    • Labels:

      Description

      Currently, we atomically rename a temp collection to the output file name. This fails for indexed and sharded collections.

      There are several options. In order of preferences:

      1. Write to the collection the user specifies. We'll have to test that, for example, $out and map/reduce can write to indexed and sharded collections.
      2. If the above fails for any reason, we can always copy from the temp collection to the output collection. This will be extremely slow, especially if we have to do it client-side, so should be avoided at all costs.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdegoes jdegoes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: