Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unload bundle: close topic forcefully and enable bundle on ownership removal failure #174

Merged
merged 1 commit into from
Jan 26, 2017

Conversation

rdhabalia
Copy link
Contributor

adding patch of #164

Motivation

while unloading namespace bundle if topic.close() fails then bundle gets stuck by staying in disable state. Therefore, unload bundle should close topic forcefully and failure in deletion of bundle-ownership node should revert bundle state to enable back so, it can serve new topics again.

Modifications

  • close topic forcefully while unloading namespace bundle
  • enable namespace bundle if unloading namespace fails

Result

bundle will not be in stuck state in case of failure in unloading namespace bundle.

@saandrews
Copy link
Contributor

👍

@rdhabalia rdhabalia merged commit df3576d into apache:branch-1.15 Jan 26, 2017
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
Motivation
Fix logrus crash, the error as follows:

panic: reflect: call of reflect.Value.Type on zero Value

* [Issue:173] Fix logrus crash

Signed-off-by: xiaolong.ran <rxl@apache.org>

* code format

Signed-off-by: xiaolong.ran <rxl@apache.org>

* fix a little

Signed-off-by: xiaolong.ran <rxl@apache.org>
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
support create topic with configed partition number.  Fix apache#173
dlg99 pushed a commit to dlg99/pulsar that referenced this pull request Apr 15, 2023
…umers when TCP/IP connections get orphaned (apache#174)

upstream PR apache#20026
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.

None yet

3 participants