Skip to content

Conversation

@Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Sep 8, 2021

Link PR in KoP:
streamnative/kop#718 and failed test unit

Motivation

The bug cause by #11012, the loadOrCreatePersistentTopic has uncaught exception may cause getTopic hang.

Modifications

Caught the exception

Verifying this change

The unit test added by @kaushik-develop help to isolate and reproduce the issue.

Documentation

  • no-need-doc

This is a bug fix, no need documentation.

@Demogorgon314 Demogorgon314 changed the title Fix getTopic hangs problem Fix getTopic may hangs Sep 8, 2021
@BewareMyPower BewareMyPower added type/bug The PR fixed a bug or issue reported a bug area/broker doc-not-needed Your PR changes do not impact docs labels Sep 8, 2021
@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

@eolivelli
Copy link
Contributor

can we add the test case from #11290 ?

The patch makes sense to me, but if this is a fix for #11290 then it is better to commit them all together

@eolivelli eolivelli changed the title Fix getTopic may hangs [Broker] Fix getTopic may hang Sep 10, 2021
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM
@315157973 can you please take another look ?

Copy link
Contributor

@315157973 315157973 left a comment

Choose a reason for hiding this comment

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

LGTM

@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

2 similar comments
@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

@Demogorgon314
Copy link
Member Author

Demogorgon314 commented Sep 18, 2021

CI - Integration - Pulsar-IO Oracle Source / pulsar-io always timeout, I saw in #12031 is disabled this test, can anyone help me to skip this test? Thx. @eolivelli @merlimat

@eolivelli
Copy link
Contributor

Rebase onto latest master branch

@Demogorgon314 Demogorgon314 force-pushed the fix-loadOrCreatePersistentTopic-may-cause-uncaught-exception branch from 80b77d2 to 36a82f6 Compare September 19, 2021 05:01
@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui merged commit 4ddbf6f into apache:master Sep 22, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Link PR in KoP:
streamnative/kop#718 and [failed test unit](https://github.com/streamnative/kop/pull/718/checks?check_run_id=3541827178#step:5:353)

### Motivation
The bug cause by apache#11012, the `loadOrCreatePersistentTopic` has uncaught exception may cause `getTopic` hang.

### Modifications

Caught the exception

### Verifying this change

The [unit test](apache#11290) added by @kaushik-develop help to isolate and reproduce the issue.

### Documentation
- [x] no-need-doc 
  
This is a bug fix, no need documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker doc-not-needed Your PR changes do not impact docs type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants