Repository navigation
Migrate concurrency setting - #63349
Rodi Reich Zilberman (rodireich) merged 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
👋 Greetings, Contributor!Here are some helpful tips and reminders for your convenience. Helpful Resources
PR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
|
|
|
|
|
|
|
|
/bump-version changelog="Make concurrency level match number of sockets in speed mode"
|
| when (DataChannelMedium.valueOf(dataChannelMedium)) { | ||
| STDIO -> maxDBConnections ?: maxConcurrencyLegacy | ||
| SOCKET -> { | ||
| maxDBConnections ?: maxConcurrencyLegacy.takeIf { it != 1 } ?: socketPaths.size |
There was a problem hiding this comment.
very interesting syntax sugar related to that takeIf
There was a problem hiding this comment.
chatgpt and me collaborated on this line 😉
|
/format-fix
|
…ames - 3.52.1: 2026-05-05 -> 2026-05-06 (PR #77787 merge date) - 3.50.5: 2025-07-30 -> 2025-07-31 (PR #63377 UTC merge date) - 3.50.3: 2025-07-18 -> 2025-07-22 (PR #63349 merge date) - 3.50.1-rc.1: 2025-07-08 -> 2025-07-10 (PR #62862 merge date) - Step 3 SSL modes: `require`/`verify-ca` -> `required`/`verify_ca` to match the actual mode values in the spec Co-Authored-By: bot_apk <apk@cognition.ai>
What
In order to allow us to utilize all available sockets by default in speed mode we need to stop setting a default concurrency value of 1.
How
New source configs will not set concurrency value by default, letting the connector decide based on mode and available sockets.
Existing connections will migrate where connections that were previously set to any number other than the default 1 will behave as if not set.
The new optional field will allow an admin to define a max value as before.
effective concurrency is
Users who didn't set anything manually would run with concurrency = number of sockets, which is the optimal value for performance. For example 8 concurrent select queries running over 8 sockets.
Review guide