Files
nomad/.changelog/25432.txt
Tim Gross 13b95b7685 CSI: prevent extraneous GC attempts for plugins (#25432)
We can't delete a CSI plugin when it has volumes in use. When periodic GC runs,
we send the RPC unconditionally and then let the state store return an error. We
accidentally fixed the excess logging this causes (#17025) in #20555, but we can
also check if the plugin is empty first before sending the RPC to save a
request and subsequent Raft write.

Fixes: https://github.com/hashicorp/nomad/issues/17025
Ref: https://github.com/hashicorp/nomad/pull/20555
2025-03-19 09:14:42 -04:00

4 lines
108 B
Plaintext

```release-note:bug
csi: Fixed a bug where GC would attempt and fail to delete plugins that had volumes
```