Skip to content

Commit

Permalink
Removed non-operational Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hui committed Jun 1, 2023
1 parent 4bd7b9d commit 33c7612
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -595,13 +595,6 @@ protected <ASPECT extends RecordTemplate> void updateWithOptimisticLocking(@Nonn
update.setParameter("createdBy", aspect.getCreatedBy());
update.setParameter("oldTimestamp", oldTimestamp);

// TODO(yanyang) added for job-gms duplicity debug, throwaway afterwards
if (log.isDebugEnabled()) {
if ("AzkabanFlowInfo".equals(aspectClass.getSimpleName())) {
log.debug("updateWithOptimisticLocking SQL: " + update.getGeneratedSql());
}
}

int numOfUpdatedRows;
if (_schemaConfig == SchemaConfig.NEW_SCHEMA_ONLY || _schemaConfig == SchemaConfig.DUAL_SCHEMA) {
// ensure atomicity by running old schema update + new schema update in a transaction
Expand Down

0 comments on commit 33c7612

Please sign in to comment.