Skip to content

Commit

Permalink
Merge PR cosmos#3898: Circuit breaker high level explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelrozanski authored and cwgoes committed Mar 25, 2019
1 parent 8528ac7 commit 2ca86c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pending/improvements/sdk/926-circuit-breaker-
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\#926 circuit breaker high level explanation
17 changes: 17 additions & 0 deletions docs/spec/circuit-breaker/01_concepts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Concepts

The intention of the circuit breaker is to have a contingency plan for a
running network which maintains network liveness. This can be achieved through
selectively "pausing" functionality of specific modules on a running network.
The circuit breaker is intended to be enabled through either:

- governance
- for emergencies a special subset of accounts selected by the state machine
- a transaction which proves the expected behaviour is broken

## Pause state

The basic pause state of any module simply disables all message routes to
that module. Beyond that, it may be a appropriate for different modules to
process begin-block/end-block in an altered "safe" way.

0 comments on commit 2ca86c8

Please sign in to comment.