Skip to content

[#79,#484] Limit parallel-write streams across all clients (main) - #501

Merged
alanking merged 7 commits into
irods:mainfrom
korydraughn:79.m
Jun 17, 2026
Merged

alanking merged 7 commits into
irods:mainfrom
korydraughn:79.m

Conversation

@korydraughn

Copy link
Copy Markdown
Contributor

All tests pass.

Comment thread test/test_irods_http_api.py Outdated

@alanking alanking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable

Comment thread README.md
Comment thread endpoints/data_objects/src/main.cpp
Comment thread test/test_irods_http_api.py
Comment thread test/test_irods_http_api.py
@korydraughn

Copy link
Copy Markdown
Contributor Author

Rebased to resolve conflict.

@korydraughn

Copy link
Copy Markdown
Contributor Author

All non-OIDC tests pass.

@alanking alanking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that we didn't just rename an existing configuration, but also added a new one which has the old name of the existing configuration. Will need to put that in big letters for the release notes

Comment thread core/src/main.cpp
@korydraughn

Copy link
Copy Markdown
Contributor Author

Just noting that we didn't just rename an existing configuration, but also added a new one which has the old name of the existing configuration.

Correct. The inclusion of _active_ in the config property's name didn't add any value. We are redefining what an existing property means though.

Will need to put that in big letters for the release notes

Agreed.

@alanking alanking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, squash to taste

@korydraughn

Copy link
Copy Markdown
Contributor Author

Squashed. Please eyeball commit messages for typos, grammar.

@alanking alanking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just had one suggestion on wording...

On "Limit parallel-write streams across all clients":
"Exceeding this limit..." might sound better than "Violating this limit..."

@korydraughn

Copy link
Copy Markdown
Contributor Author

Updated commit message.

@alanking

Copy link
Copy Markdown

Oops, # it

This commit adds a new configuration property and re-purposes an
existing one.

  - max_number_of_parallel_write_streams

    Limits how many streams can be reserved by the HTTP API, across all
    clients. Exceeding this limit will result in an HTTP status code of
    503 (Service Unavailable).

    Before this commit, this property served the same purpose as the new
    property (shown below).

  - max_number_of_streams_per_parallel_write_handle

    Limits how many streams can be associated to a single parallel-write
    handle. Exceeding this limit will result in an HTTP status code of
    400 (Bad Request).

Administrators will need to update their configuration on upgrade.
@korydraughn korydraughn changed the title [#79,#484] Limit active parallel-write streams across all clients (main) [#79,#484] Limit parallel-write streams across all clients (main) Jun 17, 2026
@korydraughn

Copy link
Copy Markdown
Contributor Author

Added pounds.

@alanking
alanking merged commit fae892e into irods:main Jun 17, 2026
13 checks passed
@korydraughn
korydraughn deleted the 79.m branch June 17, 2026 20:44
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.

2 participants