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

Conversation

@Demogorgon314
Copy link
Member

Fixes #908

Motivation

In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly.

The previous fix only checked allTopicMap size, but we are traverse allTopicMap's value lists. So the same case might be failed.

Modifications

  • Ensure all future is finished when the response

@BewareMyPower BewareMyPower merged commit 4a1c51b into streamnative:master Jan 4, 2022
@Demogorgon314 Demogorgon314 deleted the fix/list-topic branch January 4, 2022 04:56
BewareMyPower pushed a commit that referenced this pull request Jan 14, 2022
Fixes #908

### Motivation
In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly. 

The previous fix only checked `allTopicMap` size, but we are traverse allTopicMap's value lists. So the same case might be failed.

### Modifications
* Ensure all future is finished when the response
BewareMyPower pushed a commit that referenced this pull request Jan 14, 2022
Fixes #908

### Motivation
In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly. 

The previous fix only checked `allTopicMap` size, but we are traverse allTopicMap's value lists. So the same case might be failed.

### Modifications
* Ensure all future is finished when the response
BewareMyPower pushed a commit that referenced this pull request Feb 9, 2022
Fixes #908

### Motivation
In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly.

The previous fix only checked `allTopicMap` size, but we are traverse allTopicMap's value lists. So the same case might be failed.

### Modifications
* Ensure all future is finished when the response

(cherry picked from commit 4a1c51b)
eolivelli pushed a commit to eolivelli/kop that referenced this pull request Feb 24, 2022
Fixes streamnative#908

### Motivation
In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly.

The previous fix only checked `allTopicMap` size, but we are traverse allTopicMap's value lists. So the same case might be failed.

### Modifications
* Ensure all future is finished when the response

(cherry picked from commit 4a1c51b)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: KafkaAuthorizationKafkaMultitenantTenantMetadataTest.testListTopic

2 participants