Commit 19498b5
[vpj] Address review feedback for kill-check monitor
- Reset pushJobKilledByController flag at start of runJobWithKillDetection()
- Add @VisibleForTesting to package-private test-accessible methods
- Add early return guard to prevent repeated kill logging/calls
- Clarify response.isError() (HTTP) vs status.isError() (push status)
- Escalate HTTP query failures from WARN to ERROR
- Use ExecutionStatus.ERROR.toString() instead of string literal
- Verify queryOverallJobStatus was invoked in kill detection test
- Replace fragile skipVPJValidation + re-override with explicit stubs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c716a82 commit 19498b5
2 files changed
Lines changed: 34 additions & 8 deletions
File tree
- clients/venice-push-job/src
- main/java/com/linkedin/venice/hadoop
- test/java/com/linkedin/venice/hadoop
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
1051 | 1052 | | |
1052 | 1053 | | |
1053 | 1054 | | |
| 1055 | + | |
1054 | 1056 | | |
| 1057 | + | |
1055 | 1058 | | |
1056 | 1059 | | |
1057 | 1060 | | |
| |||
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
| 1072 | + | |
1069 | 1073 | | |
1070 | 1074 | | |
1071 | 1075 | | |
| |||
1076 | 1080 | | |
1077 | 1081 | | |
1078 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1079 | 1086 | | |
1080 | 1087 | | |
1081 | 1088 | | |
1082 | 1089 | | |
| 1090 | + | |
| 1091 | + | |
1083 | 1092 | | |
1084 | | - | |
| 1093 | + | |
1085 | 1094 | | |
1086 | 1095 | | |
1087 | 1096 | | |
| |||
1104 | 1113 | | |
1105 | 1114 | | |
1106 | 1115 | | |
| 1116 | + | |
1107 | 1117 | | |
1108 | 1118 | | |
1109 | 1119 | | |
| |||
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1933 | 1933 | | |
1934 | 1934 | | |
1935 | 1935 | | |
1936 | | - | |
| 1936 | + | |
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
| |||
1972 | 1972 | | |
1973 | 1973 | | |
1974 | 1974 | | |
1975 | | - | |
1976 | | - | |
1977 | | - | |
1978 | | - | |
1979 | | - | |
1980 | | - | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1981 | 1996 | | |
1982 | 1997 | | |
1983 | 1998 | | |
| |||
1992 | 2007 | | |
1993 | 2008 | | |
1994 | 2009 | | |
| 2010 | + | |
1995 | 2011 | | |
1996 | 2012 | | |
1997 | 2013 | | |
| |||
0 commit comments