Skip to content

Commit 5a114d1

Browse files
Removing retries on backfill operation failures, since it could lead to long running backfill operations.
1 parent a21b3f4 commit 5a114d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ndbench-core/src/main/java/com/netflix/ndbench/core/DataBackfill.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ private void backfillAsync(final NdBenchAbstractClient<?> client, final Backfill
112112
while (k < endKey && !stop.get()) {
113113
try {
114114
String key = "T" + k;
115-
String result = backfillOperation.process(client, key);
116-
logger.debug("Backfill Key:" + key + " | Result: " + result);
117115
k++;
118116
count.incrementAndGet();
117+
String result = backfillOperation.process(client, key);
118+
logger.info("Backfill Key:" + key + " | Result: " + result);
119119
} catch (Exception e) {
120-
logger.error("Retrying after failure", e);
120+
logger.error("Exception in processing backfill write. Key: T{}", k, e);
121121
}
122122
}
123123

0 commit comments

Comments
 (0)