You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per juju/juju#17721, controller storage is being removed in Juju 4.0, so we should prevent its use there. We should also update the various documentation (Ops reference docs, any SDK docs or tutorials).
Note that it's already deprecated with a deprecation warning in ops/main.py.
The text was updated successfully, but these errors were encountered:
Juju isn't dropping state-set/state-get in 4.0 (afaict), which is what is
used by JujuStorage
<https://github.com/canonical/operator/blob/98a4e4f44d37d3361a253bc1eff49eee2ca6d140/ops/storage.py#L219>.
That specific PR is about charms that used a Persistent Volume Claim for
their local state.
I'll reach out to confirm. I'd be open to dropping "use_juju_for_storage",
but more in favor of explicit lifetimes for StoredState objects. (Are they
persistent for the lifetime of a unit, vs persistent for the lifetime of
this container.)
I don't think the one-big-hammer for all StoredState is what we want to
have.
FWIW, that particular PR was also rejected.
John
=:->
Per juju/juju#17721, controller storage is being removed in Juju 4.0, so we should prevent its use there. We should also update the various documentation (Ops reference docs, any SDK docs or tutorials).
Note that it's already deprecated with a deprecation warning in
ops/main.py
.The text was updated successfully, but these errors were encountered: