Commit 57e1655
authored
close #10496
* Support returning non 200 response body from FFI function to status server
* Support new probe http api `/tiflash/livez` and `/tiflash/readyz`
* `/tiflash/livez` always return response code 200
* `/tiflash/readyz` will
- return response code 200 when it is ready for serving coprocessor requests
- return response code 500 when it is not ready
Signed-off-by: JaySon-Huang <tshent@qq.com>
1 parent d8af028 commit 57e1655
9 files changed
Lines changed: 321 additions & 180 deletions
File tree
- contrib
- dbms/src
- Common
- Storages/KVStore
- FFI
- tests
- tests/fullstack-test-next-gen
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
899 | 937 | | |
900 | 938 | | |
901 | 939 | | |
| |||
908 | 946 | | |
909 | 947 | | |
910 | 948 | | |
911 | | - | |
| 949 | + | |
912 | 950 | | |
913 | 951 | | |
914 | 952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments