|
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?
|