Skip to content

SUP-20057: Refactor micronode list updater to deliver the possible errors and not hog the thread, leading to DDoS#1774

Open
plyhun wants to merge 2 commits into
hotfix-3.1.xfrom
hotfix-3.1.x-sup-20057
Open

SUP-20057: Refactor micronode list updater to deliver the possible errors and not hog the thread, leading to DDoS#1774
plyhun wants to merge 2 commits into
hotfix-3.1.xfrom
hotfix-3.1.x-sup-20057

Conversation

@plyhun

@plyhun plyhun commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Abstract

Targets #1773 1773

Checklist

General

  • Added abstract that describes the change
  • Added changelog entry to /CHANGELOG.adoc
  • Ensured that the change is covered by tests
  • Ensured that the change is documented in the docs

On API Changes

  • Checked if the changes are breaking or not
  • Added GraphQL API if applicable
  • Added Elasticsearch mapping if applicable

errors and not hog the thread, leading to DDoS
@plyhun plyhun requested a review from npomaroli July 3, 2026 14:40
@plyhun plyhun self-assigned this Jul 3, 2026
return Observable.<Boolean>create(subscriber -> {

Iterator<MicronodeField> it = list.getItems().stream().map(item -> {
if (item == null) {

@plyhun plyhun Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately, this has to stay, because Observable.toIterable() does not like null items and spits its very own error, which will resolve as HTTP 500.

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.

1 participant