Skip to content

Commit cdd9b9c

Browse files
committed
Add more IDs to descriptions
1 parent 22552e1 commit cdd9b9c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

server/manager/src/main/java/org/apache/accumulo/manager/tableOps/compact/CompactionDriver.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public int updateAndCheckTablets(Manager manager, FateId fateId)
212212
tabletsMutator.mutateTablet(tablet.getExtent()).requireAbsentOperation()
213213
.requireSame(tablet, FILES, COMPACTED).putCompacted(fateId)
214214
.submit(tabletMetadata -> tabletMetadata.getCompacted().contains(fateId),
215-
() -> "no files, attempting to mark as compacted");
215+
() -> "no files, attempting to mark as compacted. " + fateId);
216216
noFiles++;
217217
} else if (tablet.getSelectedFiles() == null && tablet.getExternalCompactions().isEmpty()) {
218218
// there are no selected files
@@ -244,7 +244,7 @@ public int updateAndCheckTablets(Manager manager, FateId fateId)
244244
tabletsMutator.mutateTablet(tablet.getExtent()).requireAbsentOperation()
245245
.requireSame(tablet, FILES, SELECTED, ECOMP, COMPACTED).putCompacted(fateId)
246246
.submit(tabletMetadata -> tabletMetadata.getCompacted().contains(fateId),
247-
() -> "no files, attempting to mark as compacted");
247+
() -> "no files, attempting to mark as compacted. " + fateId);
248248

249249
noneSelected++;
250250
} else {
@@ -266,7 +266,7 @@ public int updateAndCheckTablets(Manager manager, FateId fateId)
266266
tabletMetadata -> tabletMetadata.getSelectedFiles() != null
267267
&& tabletMetadata.getSelectedFiles().getFateId().equals(fateId)
268268
|| tabletMetadata.getCompacted().contains(fateId),
269-
() -> "selecting files for compaction");
269+
() -> "selecting files for compaction. " + fateId);
270270

271271
if (minSelected == null || tablet.getExtent().compareTo(minSelected) < 0) {
272272
minSelected = tablet.getExtent();
@@ -303,7 +303,7 @@ public int updateAndCheckTablets(Manager manager, FateId fateId)
303303
.requireSame(tablet, ECOMP, USER_COMPACTION_REQUESTED)
304304
.putUserCompactionRequested(fateId);
305305
mutator.submit(tm -> tm.getUserCompactionsRequested().contains(fateId),
306-
() -> "marking as needing a user requested compaction");
306+
() -> "marking as needing a user requested compaction. " + fateId);
307307
userCompactionRequested++;
308308
} else {
309309
// Marker was already added and we are waiting
@@ -405,7 +405,8 @@ private void cleanupTabletMetadata(FateId fateId, Manager manager) throws Except
405405
mutator.deleteUserCompactionRequested(fateId);
406406
}
407407

408-
mutator.submit(needsNoUpdate::test, () -> "cleanup metadata for failed compaction");
408+
mutator.submit(needsNoUpdate::test,
409+
() -> "cleanup metadata for failed compaction. " + fateId);
409410
}
410411
}
411412
}

0 commit comments

Comments
 (0)