Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing to Mongo driver library #229

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

ramonhpr
Copy link

@ramonhpr ramonhpr commented Jun 8, 2023

That is the same PR #156 that @Hadrien-Cornier started but it seems to be outdated from repository latest updates.

After using his PR I was able to resolve issues that I was having on latest Mongodb version which were address on the following issues: #223 and #187.

Just paying attention to use --write-timeout to avoid errors like insertMany: context deadline exceeded if the amount of generated data is too big. link

Hadrien-Cornier and others added 14 commits June 7, 2023 11:18
adding username and password to mongo tsbs_load options
…ps://pkg.go.dev/go.mongodb.org/mongo-driver Which is stil being maintained instead of the unmaintained mgo driver which does not connect to mongo v.4.4
…rsion of mongo (4.4) and added batchsize option to the query executor (going from 1 to 1000 batchsize can speed queries by a factor of 30) as well as an indicator of number of queries executed
Co-authored-by: Jônatas Davi Paganini <jonatas.paganini@toptal.com>
Co-authored-by: Jônatas Davi Paganini <jonatas.paganini@toptal.com>
Co-authored-by: Jônatas Davi Paganini <jonatas.paganini@toptal.com>
Co-authored-by: Jônatas Davi Paganini <jonatas.paganini@toptal.com>
@CLAassistant
Copy link

CLAassistant commented Jun 8, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants