You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a fabric.ChaincodeQuery with WithEndorsersFromMyOrg, the FSC queries all configured peers of the own organization. On any query, it validates if all responses match:
In some situations this may be important (i.e. querying other orgs, not trusting all own peers). But sometimes availibility should be considered more important than the integrity. For example: I have three peers in my organization and I want to update one. The client should still be able to query (and invoke).
Perhaps it would be worthwhile to have a flag to 'trust any response' and it would just take the first of all the responses that has a valid payload?
The text was updated successfully, but these errors were encountered:
When doing a fabric.ChaincodeQuery with WithEndorsersFromMyOrg, the FSC queries all configured peers of the own organization. On any query, it validates if all responses match:
fabric-smart-client/platform/fabric/core/generic/chaincode/invoke.go
Line 119 in 110f632
In some situations this may be important (i.e. querying other orgs, not trusting all own peers). But sometimes availibility should be considered more important than the integrity. For example: I have three peers in my organization and I want to update one. The client should still be able to query (and invoke).
Perhaps it would be worthwhile to have a flag to 'trust any response' and it would just take the first of all the responses that has a valid payload?
The text was updated successfully, but these errors were encountered: