Skip to content

[fix][broker] Fix default bundles ns anti affinity group - #2

Merged
syk-coder merged 1 commit into
masterfrom
fix_default_bundles_ns_anti_affinity_group
Jan 24, 2025
Merged

syk-coder merged 1 commit into
masterfrom
fix_default_bundles_ns_anti_affinity_group

Conversation

@syk-coder

Copy link
Copy Markdown
Owner

Fixes apache#20278

Motivation
Motivation & Modifications:

  1. When creating a namespace anti-affinity group with the default local policies, use the bundle size supplied by the user.
  2. use OrElseGet instead of OrElse

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

…al policies, use the bundle size supplied by the user.

2. use OrElseGet instead of OrElse
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.

Could you also help change orElse to orElseGet at line 1713 and 1763

1 participant