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

Add liveness probe support to chaincode #100

Open
jt-nti opened this issue Feb 1, 2024 · 0 comments
Open

Add liveness probe support to chaincode #100

jt-nti opened this issue Feb 1, 2024 · 0 comments
Labels
design Design discussions enhancement New feature or request help wanted Extra attention is needed

Comments

@jt-nti
Copy link
Member

jt-nti commented Feb 1, 2024

Based on discussions with @y12studio in #98, it would be useful to support liveness probes for chaincode containers.

I don't think there is a simple way to implement this with current Fabric capabilities since the peer<->chaincode communication is via a long-lived grpc stream, and I'm not sure what chaincode language neutral alternatives might be possible instead.

One possibility is to update the Fabric protos to add a liveness service for chaincode implementations to (optionally?) support this requirement. The peer uses a separate operations service for health checks but that doesn't seem like a good approach for chaincode.

@jt-nti jt-nti added enhancement New feature or request help wanted Extra attention is needed design Design discussions labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design discussions enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant