Repository navigation
Conversation
Hello dvasilas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
❌ 7 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
| "@opentelemetry/instrumentation-ioredis": "~0.70.0", | ||
| "@opentelemetry/instrumentation-mongodb": "~0.75.0", | ||
| "@scality/arsenal": "^8.6.1", | ||
| "@scality/arsenal": "git+https://github.com/scality/Arsenal#574ed2041c4a963e0c30a73e64c21d3807e5c0c9", |
There was a problem hiding this comment.
Arsenal is pinned to a raw commit (574ed204…) instead of a release tag. Git-based deps must pin to a tag. Release the Arsenal change (8.6.3?) and pin to that version before merging.
9917afd to
f217abc
Compare
nicolas2bert
left a comment
There was a problem hiding this comment.
LGTM
On follow up caught by Claude:
The AWS SDK's requestTimeout counts from the start of the request until the response headers arrive, and then it stops. Once the headers are in, nothing limits reading the body.
So this case still hangs forever:
- The KMS (or a proxy, or a network that drops packets) sends 200 OK and the headers.
- Then it sends nothing more.
- The S3 request waits forever, just like before the PR.
I created a follow up ticket ARSN-684 |
|
/create_integration_branches |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
The following options are set: create_integration_branches |
f217abc to
bd20c73
Compare
| optionalDependencies: | ||
| ioctl "^2.0.2" | ||
|
|
||
| "@scality/arsenal@^8.6.0": |
There was a problem hiding this comment.
The lockfile now installs two arsenal copies: utapi's ^8.6.0 still resolves to 8.6.1, while cloudserver gets 8.6.4. Before this bump, both ranges shared one entry. Point both ranges at 8.6.4 (for example "@scality/arsenal@^8.6.0", "@scality/arsenal@^8.6.4":) and drop the 8.6.1 block, or run npx yarn-deduplicate.
Set by requestTimeoutMs on a kmip or aws_kms entry, 5000 ms by default.
The KMIP functional job gets a KMS that accepts connections and never answers.
bd20c73 to
a4f176a
Compare
| const defaultLocalCache = { host: '127.0.0.1', port: 6379 }; | ||
|
|
||
| // Time limit of each attempt of a request to a kmip or aws_kms KMS | ||
| const defaultKmsRequestTimeoutMs = 5000; |
There was a problem hiding this comment.
This turns a time limit on for every existing kmip entry, and in arsenal 8.6.4 it counts time spent waiting for a pipeline slot (pipelineDepth, 8 by default). On a timeout, _dropConversation fails every in-flight and deferred request on that transport. So a burst that queues past 5 s against a slow but healthy KMIP server now fails many requests at once with a 500, where before they only waited. Consider leaving the limit off when requestTimeoutMs is unset, or at least note this behaviour change in the release notes.
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
This pull request does not target the following hotfix branch(es) so they
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve, create_integration_branches |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-1043. Goodbye dvasilas. |
KMIP and AWS KMS requests have no time limit: a request to a KMS that doesn't respond keeps its caller waiting indefinitely.
This PR adds a timeout to each attempt to a
kmiporaws_kmsKMS.A request over the limit fails with a 500 error.