Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

PR-20822: [fix][broker] Avoid infinite bundle unloading #5838

@streamnativebot

Description

@streamnativebot

url: apache#20822

Motivation

When unload happens, the bundle ownership assignment logic doesn't know the previous unloaded broker. It might assign the bundle to the same broker. In this case, it might cause an infinite bundle unloading loop.

Modifications

  • Avoid assigning bundle to the previous unloaded broker

Verifying this change

See the ModularLoadManagerImplTest#testAvoidAssignBundleToPreviousUnloadedBroker unit test.

Documentation

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions