-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test changing an endorsement policy #67
Comments
From Saptha: gateway throws error message:10 ABORTED: failed to assemble transaction: ProposalResponsePayloads do not match client recovers well and transactions seems to work fine. |
Endorsement policy failures are expected when moving from a less restrictive to a more restrictive policy and the endorsements were collected before the policy change was completed. Proposal Response Payload mismatches can also occur because proposal response payloads reference the endorsement policy eg a read which creates an entry in the read set and while that's different due to the commit to multiple peers not being atomic then it's entirely possible to get mismatched proposal response payloads. For the same reason MVCC read conflicts can occur. This can happen when endorsements are done before the new definition is committed. When the peer comes to validate it the read set has one version of the lifecycle but now the version has changed so reading it again shows a difference resulting in the MVCC read conflict. |
From Saptha: Findings: Status code 10 - Observed for transactions happening during the update. "4 DEADLINE_EXCEEDED: Deadline exceeded" |
@sapthasurendran This is a new issue and certainly unexpected, we need to try to recreate this and understand how a client permanently lost comms with the gateway server. Did a restart of the client address the issue ? |
Moving to a more restrictive policy I hit
Plus
|
I can recreate the problem where the client loses connection to the gateway and the connection doesn't recover
A restart of the client fixes the issue (but is most likely just down to the grpc connection being recreated). going to try client and server side grpc debugging and peer grpc |
The issue where the client loses connection to the gateway hyperledger/fabric-gateway#332 |
Add Support to dynamically change the endorsement policy and test the following scenarios
The text was updated successfully, but these errors were encountered: