Skip to content

Commit

Permalink
Disable deletes temporarily in the reconciler
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgaldi committed Jan 19, 2024
1 parent 60e6779 commit a668046
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ class ReconcilerInstance(
try {
logger().info("Trying to delete dataset $datasetID.")
Metrics.reconcilerDatasetDeleted.labels(targetDB.name).inc()
targetDB.deleteDataset(datasetID = datasetID, datasetType = datasetType)
// TODO re-enable deletes once we are confident in the logic.
// targetDB.deleteDataset(datasetID = datasetID, datasetType = datasetType)
} catch (e: Exception) {
// Swallow exception and alert if unable to delete. Reconciler can safely recover, but the dataset
// may need a manual inspection.
Expand Down

0 comments on commit a668046

Please sign in to comment.