We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd35bce commit 5dc0607Copy full SHA for 5dc0607
src/main/java/com/spotify/reaper/service/SegmentRunner.java
@@ -156,6 +156,9 @@ private void runRepair() {
156
RepairUnit repairUnit = context.storage.getRepairUnit(segment.getRepairUnitId()).get();
157
String keyspace = repairUnit.getKeyspaceName();
158
159
+ // If this segment is blocked by other repairs on the hosts involved, we will want to double-
160
+ // check with storage, whether those hosts really should be busy with repairs. This listing of
161
+ // busy hosts isn't a cheap operation, so only do it (once) when repairs block the segment.
162
LazyInitializer<Set<String>> busyHosts = new LazyInitializer<Set<String>>() {
163
@Override
164
protected Set<String> initialize() {
0 commit comments