loopbackio / loopbackio/loopback-connector-mongodb

pool connection sizing incorrectly supported

Open
#721 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
186
Forks
238
Avg merge
2h 49m
Merged PRs (30d)
1

Description

According to the documentation (https://www.mongodb.com/docs/drivers/node/v4.6/fundamentals/connection/connection-options/), connection pool configuration is dependent on options maxPoolSize and minPoolSize. The loopback connector only allows a 'poolSize' option to be defined and passed to the client.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting how the LoopBack MongoDB connector handles and passes the poolSize option to the client, then compare that behavior with the linked MongoDB connection-options documentation. Done means the connector supports the documented maxPoolSize and minPoolSize options instead of only poolSize, with tests covering the accepted configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.