mirror of
https://github.com/corda/corda.git
synced 2025-01-31 08:25:50 +00:00
Dan Newton
ef01a99737
CORDA-3194 Failure during flow retry forces the flow into overnight observation (#2640)
When a flow fails to retry, it should be kept in for overnight observation and aborted. In the future, it might be possible to retry flows again that failed during their retry, but for now keeping for observation and aborting is satisfactory. * CORDA-3194 Remove hospitalised flows from `HospitalisingInterceptor` Small refactor to remove some of the hospital logic out of the `HospitalisingInterceptor` and into the `StaffedFlowHospital`. Add some comments to help clarify the purpose of the two maps inside of the hospital. * CORDA-3194 When a flow fails to retry force it into observation When a flow fails to retry, it should be kept in for overnight observation and aborted. In the future, it might be possible to retry flows again that failed during their retry, but for now keeping for observation and aborting is satisfactory. * CORDA-3194 Test for database commit failure when retrying a flow Failing during the database commit failure that occurs after the retry flow action does not stop the flow from actually retrying. This test confirms this functionality. The retried flow gets scheduled as part of the retry action. The failure in the commit action does not prevent this since it has already been scheduled.
Corda
Corda is an open source blockchain project, designed for business from the start. Only Corda allows you to build interoperable blockchain networks that transact in strict privacy. Corda's smart contract technology allows businesses to transact directly, with value.
Features
- Smart contracts that can be written in Java and other JVM languages
- Flow framework to manage communication and negotiation between participants
- Peer-to-peer network of nodes
- "Notary" infrastructure to validate uniqueness and sequencing of transactions without global broadcast
- Enables the development and deployment of distributed apps called CorDapps
- Written in Kotlin, targeting the JVM
Getting started
- Read the Getting Started documentation
- Run the Example CorDapp
- Read about Corda's Key Concepts
- Follow the Hello, World! tutorial
Useful links
- Project Website
- Mailing List
- Documentation
- Stack Overflow Tag
- Slack Channel
- Meetups
- Training Courses
Contributing
Corda is an open-source project and contributions are welcome!
To find out how to contribute, please see our contributing docs.
License
Acknowledgements
YourKit supports open source projects with its full-featured Java Profiler.
YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.
Languages
Kotlin
94.3%
Java
2.5%
C++
2.1%
Python
0.3%
Shell
0.3%
Other
0.3%