-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Intermittent test failure: OwnershipCacheTest.testGetOwner #404
Comments
Still happening
|
This is fixed by #503 |
hrsakai
pushed a commit
to hrsakai/pulsar
that referenced
this issue
Dec 10, 2020
…ache#404) Co-authored-by: Pavel Agaletskiy <psagaletskiy@avito.ru>
hangc0276
added a commit
to hangc0276/pulsar
that referenced
this issue
May 26, 2021
Fix apache#252 ### Motivation When bundle unload triggered, the `consumerTopicManagers` cache won't be evicted and it will return the old `KafkaTopicConsumerManager` instance in the next fetch request handle. However, after bundle unload, the producer/consumer/managedLedger of topics in related bundle will be closed. If we use old `KafkaTopicConsumerManager` instance to read messages, it will return `managedLedger has been closed` exception. ### Changes 1. Change `consumerTopicManagers`, `topics`, `references` map to static attribute ConcurrentHashMap. 2. Evict related cache information for topics whose bundle trigged unload. 3. Turn on `DistributedClusterTest `.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OwnershipCacheTest.testGetOwner:164 » Execution org.apache.zookeeper.KeeperExc...
The text was updated successfully, but these errors were encountered: