Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Conversation

@VanderChen
Copy link
Contributor

In this PR, we add a rollback mechanism for failure of sending TopicInfo. When sending topic info using gRPC fails, delete the corresponding TopicInfo in the TopicInfoCache.

VanderChen added 30 commits June 4, 2021 13:44
@VanderChen VanderChen changed the title [Do not merge before #PR 695] Add rollback mechanism for failure of sending TopicInfo [DPM] Add rollback mechanism for failure of sending TopicInfo Jan 22, 2022
@xieus xieus added enhancement New feature or request feature feature development labels Jan 26, 2022
@xieus xieus added this to the Version 1.0.2022.01.30 milestone Jan 26, 2022
Comment on lines +88 to +89
vpcTopicInfoICache.put(vpcId, vpcTopicInfo);
tx.commit();
Copy link
Contributor

Choose a reason for hiding this comment

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

@VanderChen So we allow to put a null into vpcTopicInfoICache for certain vpcId?

Copy link
Contributor

@cj-chung cj-chung left a comment

Choose a reason for hiding this comment

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

LGTM overall except one minor comment, but I think we can merge it into master first.

@xieus xieus merged commit 58440cc into futurewei-cloud:master Jan 26, 2022
@VanderChen VanderChen deleted the dpm-pulsarv2-fix branch February 3, 2022 02:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request feature feature development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants