Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3831

[Spike] Can we use mongoimport/mongoexport as the backend for the new Import/Export?

    XMLWordPrintableJSON

Details

    • Icon: Investigation Investigation
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.21.0
    • None
    • None
    • None

    Description

      This is a spike to understand whether we can use mongoimport/mongoexport as the backend of the new import/export.

      Advantages:

      • They are widely used tools, they are stable and well maintained
      • By using them as a child process, we get them to run in the background out of the box
      • There is no difference in behavior between Compass and the CLI tools

      Questions to answer:

      • can use mongoimport/mongoexport in a clean way inside electron?
      • what are the parameters that we need to pass to mongoimport/mongoexport? Are they easy to pass around in Compass?
      • Do we have a way to get progress information to display a progress bar inside Compass?
      • Can we easily get meaningful errors from the child process?
      • What happens if the child process crashes?

      Attachments

        Activity

          People

            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: