{"record":{"id":"9b95b2065f5e922b","repo":"apache/cassandra","slug":"no-drop-table-operation-is-in-progress-for-table-w","errorCode":null,"errorMessage":"No drop table operation is in progress for table with id ","messagePattern":"No drop table operation is in progress for table with id ","errorType":"exception","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"src/java/org/apache/cassandra/tcm/CMSOperations.java","lineNumber":407,"sourceCode":"                rowRes.put(row.getKey(), row.getValue().toString());\n            res.put(outerEntry.getKey(), rowRes);\n        }\n        return res;\n    }\n\n    @Override\n    public void resumeDropAccordTable(String tableId)\n    {\n        TableId id = TableId.fromString(tableId);\n        for (MultiStepOperation.SequenceKey key : ClusterMetadata.current().inProgressSequences.keys())\n        {\n            if (key instanceof DropAccordTable.TableReference && ((DropAccordTable.TableReference) key).id.equals(id))\n            {\n                InProgressSequences.finishInProgressSequences(key);\n                return;\n            }\n        }\n        throw new IllegalArgumentException(\"No drop table operation is in progress for table with id \" + tableId);\n    }\n}\n","sourceCodeStart":389,"sourceCodeEnd":410,"githubUrl":"https://github.com/apache/cassandra/blob/88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1/src/java/org/apache/cassandra/tcm/CMSOperations.java#L389-L410","documentation":"Thrown (as IllegalArgumentException) by CMSOperations.resumeDropAccordTable when no in-progress drop-table transformation exists for the given table id. Resume only works for Accord table drops that were started and interrupted; the in-progress sequence key must still be registered.","triggerScenarios":"Calling resumeDropAccordTable(TableId) for a table whose drop either never started, already completed (sequence finished), or whose id does not match any DropAccordTable.TableReference in progress.","commonSituations":"Retrying a resume after the drop already finished, passing a wrong/stale table id, or attempting resume on a table that was never dropped.","solutions":["Verify the table id is correct and that a drop operation is actually in progress.","If the drop already completed, no resume is needed - the table is gone.","Re-initiate a new drop operation if none is in progress."],"exampleFix":"// before\nCMSOperations.instance().resumeDropAccordTable(staleTableId);\n// after\nif (isDropInProgress(tableId)) CMSOperations.instance().resumeDropAccordTable(tableId);","handlingStrategy":"validation","validationCode":"if (!dropInProgress(tableId)) { /* no resume needed */ return; }","typeGuard":null,"tryCatchPattern":"try { ops.resumeDropAccordTable(tableId); } catch (IllegalArgumentException e) { logger.warn(\"No drop in progress for {}: {}\", tableId, e.getMessage()); }","preventionTips":["Track in-progress drops keyed by table id","Confirm the drop actually started before resuming","Handle already-completed drops as no-ops"],"tags":["tcm","accord","resource-not-found"],"backgroundTag":"resource-not-found","analyzedSha":"88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1","analyzedAt":"2026-09-10T07:29:22.284Z","contentChangedAt":"2026-09-10T07:29:22.284Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}