Skip to content

Commit

Permalink
Extend server state transitions (#48)
Browse files Browse the repository at this point in the history
By description at
https://neo4j.com/docs/bolt/current/bolt/message/#messages-route it can
change server state into those.

---------

Co-authored-by: Robsdedude <[email protected]>
  • Loading branch information
stefanak-michal and robsdedude authored Apr 19, 2024
1 parent 00c2eb0 commit edd2915
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
36 changes: 36 additions & 0 deletions modules/ROOT/pages/appendix/version-4.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ This section lists all Bolt message state transitions available in version 4.x.
| `SUCCESS {}`
| `READY`

| `READY`
| `ROUTE`
|
| `FAILURE {}`
| `FAILED`

| `READY`
| `RESET`
| `<INTERRUPT>`
Expand Down Expand Up @@ -270,6 +276,30 @@ This section lists all Bolt message state transitions available in version 4.x.
| `IGNORED`
| `FAILED`

| `FAILED`
| `BEGIN`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `COMMIT`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `ROLLBACK`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `ROUTE`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `RESET`
| `<INTERRUPT>`
Expand Down Expand Up @@ -324,6 +354,12 @@ This section lists all Bolt message state transitions available in version 4.x.
| `IGNORED`
| `INTERRUPTED`

| `INTERRUPTED`
| `ROUTE`
|
| `IGNORED`
| `INTERRUPTED`

| `INTERRUPTED`
| `RESET`
| `<INTERRUPT>`
Expand Down
42 changes: 42 additions & 0 deletions modules/ROOT/pages/appendix/version-5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ This section lists all Bolt message state transitions available in version 5.1 a
| `SUCCESS {}`
| `READY`

| `READY`
| `ROUTE`
|
| `FAILURE {}`
| `FAILED`

| `READY`
| `RESET`
| `<INTERRUPT>`
Expand Down Expand Up @@ -276,6 +282,12 @@ This section lists all Bolt message state transitions available in version 5.1 a
|
|

| `FAILED`
| `LOGOFF`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `RUN`
|
Expand All @@ -294,6 +306,30 @@ This section lists all Bolt message state transitions available in version 5.1 a
| `IGNORED`
| `FAILED`

| `FAILED`
| `BEGIN`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `COMMIT`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `ROLLBACK`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `ROUTE`
|
| `IGNORED`
| `FAILED`

| `FAILED`
| `RESET`
| `<INTERRUPT>`
Expand All @@ -312,6 +348,12 @@ This section lists all Bolt message state transitions available in version 5.1 a
|
|

| `FAILED`
| `LOGOFF`
|
| `IGNORED`
| `FAILED`

| `INTERRUPTED`
| `RUN`
|
Expand Down

0 comments on commit edd2915

Please sign in to comment.