Commit 5775e71
[server][da-vinci]: Raise disk health check thread priority (linkedin#2911)
Run the disk health check background thread at priority 8 so it stays
responsive when other server components are under load without using max
priority.
Add test coverage to verify the created health check thread priority.
Testing: ./gradlew :clients:da-vinci-client:test --tests
com.linkedin.davinci.storage.DiskHealthCheckServiceTest
Co-authored-by: Ali Poursamadi <apoursamadi@linkedin.com>1 parent 781b496 commit 5775e71
2 files changed
Lines changed: 12 additions & 1 deletion
File tree
- clients/da-vinci-client/src
- main/java/com/linkedin/davinci/storage
- test/java/com/linkedin/davinci/storage
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
clients/da-vinci-client/src/test/java/com/linkedin/davinci/storage/DiskHealthCheckServiceTest.java
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments