Commit d6c7d74
committed
rpc: return DRPC status from ConnHealth and GetBreaker when enabled
Currently, ConnHealth and GetBreakerForAddr methods in nodedialer always return
gRPC status even when DRPC is enabled. When DRPC is enabled, they should return
the connection health and breaker status of DRPC instead. This change fixes
that behavior.
Fixes: 153860
Epic: CRDB-51459
Release note: None1 parent 616f0dd commit d6c7d74
File tree
6 files changed
+333
-138
lines changed- pkg
- kv/kvserver
- rpc
- nodedialer
- server/storage_api
6 files changed
+333
-138
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2850 | 2850 | | |
2851 | 2851 | | |
2852 | 2852 | | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
2853 | 2857 | | |
2854 | 2858 | | |
2855 | 2859 | | |
| |||
2911 | 2915 | | |
2912 | 2916 | | |
2913 | 2917 | | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
2914 | 2922 | | |
2915 | 2923 | | |
2916 | 2924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1392 | 1392 | | |
1393 | 1393 | | |
1394 | 1394 | | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
1395 | 1405 | | |
1396 | 1406 | | |
1397 | 1407 | | |
1398 | 1408 | | |
1399 | 1409 | | |
1400 | 1410 | | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1401 | 1420 | | |
1402 | 1421 | | |
1403 | 1422 | | |
| |||
1499 | 1518 | | |
1500 | 1519 | | |
1501 | 1520 | | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
| 1521 | + | |
| 1522 | + | |
1507 | 1523 | | |
1508 | 1524 | | |
1509 | | - | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
1510 | 1547 | | |
1511 | 1548 | | |
1512 | 1549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
301 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
302 | 309 | | |
303 | 310 | | |
304 | 311 | | |
| |||
0 commit comments