Priority: Major - P3
Affects Version/s: 3.4.21, 4.0.9, 3.6.13
Fix Version/s: None
Environment:mongodump version: r4.0.9
git version: fc525e2d9b0e4bceff5c2201457e564362909765
Go version: go1.11.6
OpenSSL version: OpenSSL 1.0.2o-fips 27 Mar 2018
Tools on windows connecting to localhost suffer a long name resolution delay. A workaround is to connect to 127.0.0.1.
After migration from MongoDB v2.0.9 to v4.0.9 the main bad thing I noticed is a huge time for execution dump/restore commands.
For v2.0.9 those operations were almost instantaneous (dataset is tiny). But same commands for same datasets with new binaries for v4.0.9 take seconds for the same operations.
From the verbose log, I can see that 2 seconds it does nothing before starting to perform the operation.
I use dump/restore a lot in test cases between tests (actually hundreds of such operations) so now my tests run like 2-3 times longer (
Am I doing something wrong or is it really should be so slow now? Is it because tools are now written in go?