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

FAB-18283 Ch.Part.API: StatusReport on evicted etcdraft.Chain #2049

Merged
merged 1 commit into from
Oct 27, 2020
Merged

FAB-18283 Ch.Part.API: StatusReport on evicted etcdraft.Chain #2049

merged 1 commit into from
Oct 27, 2020

Conversation

tock-ibm
Copy link
Contributor

When the channel participation API is used to list the details
for an application channel where the orderer has been removed
from the consenters set when the system channel exists, an
incorrect StatusReport of "member"/"active" is returned by the
API. It should return "config-tracker"/"inactive" at this point.

This commit fixes this problem by changing the StatusReport
return by an etcdraft.Chain after it is stopped and evicted
from the cluster.

Signed-off-by: Yoav Tock tock@il.ibm.com
Change-Id: I28573859fc797489e721fd4ee8625de064be4235

Type of change

  • Bug fix

Related issues

Task: FAB-18283
Epic: FAB-17712

When the channel participation API is used to list the details
for an application channel where the orderer has been removed
from the consenters set when the system channel exists, an
incorrect StatusReport of "member"/"active" is returned by the
API. It should return "config-tracker"/"inactive" at this point.

This commit fixes this problem by changing the StatusReport
return by an etcdraft.Chain after it is stopped and evicted
from the cluster.

Signed-off-by: Yoav Tock <tock@il.ibm.com>
Change-Id: I28573859fc797489e721fd4ee8625de064be4235
@tock-ibm tock-ibm requested a review from a team as a code owner October 27, 2020 09:19
@C0rWin C0rWin merged commit b810925 into hyperledger:master Oct 27, 2020
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.

2 participants