if (status == Status.OK) {
if (trace.val)
LOG.trace(String.format("%s - Storing %d dependency results locally for successful work fragment",
ts, result.size()));
assert(result.size() == outputDepIds.length);
DependencyTracker otherTracker = this.hstore_site.getDependencyTracker(ts.getBasePartition());
for (int i = 0; i < outputDepIds.length; i++) {
if (trace.val)
LOG.trace(String.format("%s - Storing DependencyId #%d [numRows=%d]\n%s",
ts, outputDepIds[i], result.dependencies[i].getRowCount(),
result.dependencies[i]));
try {
otherTracker.addResult(local_ts, this.partitionId, outputDepIds[i], result.dependencies[i]);
} catch (Throwable ex) {
// ex.printStackTrace();
String msg = String.format("Failed to stored Dependency #%d for %s [idx=%d, fragmentId=%d]",
outputDepIds[i], ts, i, fragmentIds[i]);
LOG.error(String.format("%s - WorkFragment:%d\nExpectedIds:%s\nOutputDepIds: %s\nResultDepIds: %s\n%s",