Guest User

Untitled

a guest
May 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. digraph gc {
  2. rankdir = LR
  3.  
  4. label = "ClientSession state transitions. 'insert' stands for any operation.
  5. 'error' isn't a permanent state, it just represents throwing an error.
  6. "
  7.  
  8. labelloc = t
  9.  
  10. initial [shape="rectangle"]
  11. in_progress [label="in progress"]
  12.  
  13. initial -> none
  14. none -> starting [label="start"]
  15. none -> none [label="insert"]
  16. none -> error [label="commit/abort"]
  17. starting -> in_progress [label="insert"]
  18. starting -> committed [label="commit"]
  19. starting -> aborted [label="abort"]
  20. starting -> error [label="start"]
  21. in_progress -> committed [label="commit"]
  22. in_progress -> aborted [label="abort"]
  23. in_progress -> in_progress [label="insert"]
  24. in_progress -> error [label="start"]
  25. aborted -> none [label="insert"]
  26. aborted -> starting [label="start"]
  27. aborted -> error [label="commit/abort"]
  28. committed -> none [label="insert"]
  29. committed -> starting [label="start"]
  30. committed -> error [label="abort"]
  31. committed -> committed [label="commit"]
  32. error [shape="rectangle"]
  33.  
  34. }
Add Comment
Please, Sign In to add comment