Commit b148c40
authored
Refactor: remove coreContainerWorkExecutor (#3405)
It's only used for one silly thing:
It's needless to create an executor just to asynchronously wait for another executor (coreLoadExecutor) to close. We can instead call shutdownAndAwaitTermination on coreLoadExecutor when the container shuts down.1 parent df686dd commit b148c40
2 files changed
Lines changed: 8 additions & 24 deletions
File tree
- solr/core/src
- java/org/apache/solr/core
- test/org/apache/solr/handler/admin
Lines changed: 6 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
| 248 | + | |
251 | 249 | | |
252 | 250 | | |
253 | 251 | | |
| |||
839 | 837 | | |
840 | 838 | | |
841 | 839 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | 840 | | |
853 | 841 | | |
854 | 842 | | |
| |||
1098 | 1086 | | |
1099 | 1087 | | |
1100 | 1088 | | |
1101 | | - | |
| 1089 | + | |
1102 | 1090 | | |
1103 | 1091 | | |
1104 | 1092 | | |
| |||
1168 | 1156 | | |
1169 | 1157 | | |
1170 | 1158 | | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1176 | 1162 | | |
1177 | 1163 | | |
1178 | 1164 | | |
| |||
1362 | 1348 | | |
1363 | 1349 | | |
1364 | 1350 | | |
1365 | | - | |
| 1351 | + | |
1366 | 1352 | | |
1367 | 1353 | | |
1368 | 1354 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | | - | |
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
| |||
300 | 299 | | |
301 | 300 | | |
302 | 301 | | |
303 | | - | |
304 | | - | |
| 302 | + | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
| |||
0 commit comments