<BUG>futures.add(session.executeAsync(deleteAlertSeverity.bind(tenantId, a.getSeverity().name(), id)));futures.add(session.executeAsync(deleteAlertStatus.bind(tenantId, a.getStatus().name(), id)));</BUG><CONTEXT>for (Alert a : alertsToDelete) {String id = a.getAlertId();List<ResultSetFuture> futures = new ArrayList<>();futures.add(session.executeAsync(deleteAlert.bind(tenantId, id)));futures.add(session.executeAsync(deleteAlertCtime.bind(tenantId, a.getCtime(), id)));<extra_id_0>futures.add(session.executeAsync(deleteAlertTrigger.bind(tenantId, a.getTriggerId(), id)));a.getLifecycle().stream().forEach(l -> {futures.add(</CONTEXT>
[DELETED]