Skip to content

Commit

Permalink
Added keys in ha status -locks
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Dec 17, 2019
1 parent 92c687e commit f0a7aa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ public static List<ODocument> getRequestsStatus(final ODistributedAbstractPlugin
row.field("startedOn", dateFormat.format(new Date(entries.getValue().getStartedOn())));
row.field("status", context.getStatus().toString());
row.field("records", context.getLockedRids().stream().map(Object::toString).collect(Collectors.toList()));
row.field("keys", context.getLockedKeys().stream().map(Object::toString).collect(Collectors.toList()));

rows.add(row);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,7 @@ public List<ORID> getLockedRids() {
return lockedRids;
}

public List<Object> getLockedKeys() {
return lockedKeys;
}
}

0 comments on commit f0a7aa5

Please sign in to comment.