mongodb/mongo-perf

Does this benchmark mongo-perf support new mongodb version 6.0.1?

dongjian2021 opened this issue · 5 comments

Hi,
Does anyone know if it support mongodb 6.0.1?

It works well on 4.4.10, but for 6.0.1 the shell "mongo" change to "mongosh", and the util/utils.js can be loaded but failed to run mongoPerfRunTests function.

Any suggestions?

Thanks a lot
Regards,
DJ

Hi DJ: The legacy "mongo" shell can be used for testing mongo-perf. You should be able to use the legacy "mongo" shell from 5.0 with 6.0. We need to update the readme on mongo-perf to mention this.

Hi Hartnett,

Thanks for your suggestion, it is a way out for using legacy shell, let me have a try to install legacy "mongo" for 6.0.

Regards.
DJ

Hi DJ. 6.0 doesn't have the legacy "mongo" shell. You'll need to download 5.0 and copy it over.

Thanks Hartnett, I can run the mongo-perf with mongodb 6.0 right now. Your suggestion works well.

Great news DJ. Thanks for letting us know.