Skip to content

Commit 71b7e0b

Browse files
committed
fix!: Remove unused PVCs which caused problems
1 parent 129caf5 commit 71b7e0b

5 files changed

Lines changed: 27 additions & 221 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ All notable changes to this project will be documented in this file.
3838

3939
- Use `json` file extension for log files ([#733]).
4040
- Fix a bug where changes to ConfigMaps that are referenced in the TrinoCluster spec didn't trigger a reconciliation ([#734]).
41+
- BREAKING: The PersistentVolumeClaims for coordinator and workers have been removed ([#XXX])
42+
- They caused problems, as Trino kept it's process ID in `/stackable/data/var/run/launcher.pid`.
43+
A forceful stop (e.g. OOMKilled) could result in a leftover PID in this file.
44+
In this case Trino would refuse startup with `trino ERROR: already running as 21`.
45+
As the PersistentVolumeClaims didn't store any actual data, they have been removed.
46+
- Upgrading will result in the error message `Failed to reconcile object [...]: Forbidden: updates to statefulset spec for fields other than [...] are forbidden`
47+
as Kubernetes currently does not allow changing the `volumeClaimTemplates` field. Simply delete the mentioned StatefulSet, the operator will re-create it.
48+
- You might want to clean up now useless PVCs.
49+
Tip: You can list all Trino-related PVCs using `kubectl get pvc -l app.kubernetes.io/name=trino`.
50+
- The `.spec.(coordinators|workers).config.resources.storage.data` field has been removed, as it's not needed anymore.
4151

4252
### Removed
4353

@@ -56,6 +66,7 @@ All notable changes to this project will be documented in this file.
5666
[#753]: https://github.com/stackabletech/trino-operator/pull/753
5767
[#755]: https://github.com/stackabletech/trino-operator/pull/755
5868
[#760]: https://github.com/stackabletech/trino-operator/pull/760
69+
[#XXX]: https://github.com/stackabletech/trino-operator/pull/XXX
5970

6071
## [25.3.0] - 2025-03-21
6172

0 commit comments

Comments
 (0)