Closed ZeeshanM96 closed 2 months ago
Two comments:
- Maybe you've already seen it, maybe not, but similar functionality is implemented in the zkEVM charm in case you want to check it out for inspiration.
utils.install_binary(self.config, service_args_obj.chain_name)
also containsstop_service
, so there's some more stuff to adjust there.
utils.install_binary
does contain stop-service
, but aren't we concerned about start_service
, aim is to stop the service from starting when a service args are changed. Please correct me if I am wrong!
@Maharacha @jonathanudd
I say we close this and take another stab at another time, if we feel the need for it. Agree?
@Maharacha @jonathanudd
I say we close this and take another stab at another time, if we feel the need for it. Agree?
Sounds good. The card will still be there for later :)
@Maharacha @jonathanudd
I say we close this and take another stab at another time, if we feel the need for it. Agree?
Agree. It was not close to a working solution anyway.
Description:
Right now, in the polkadot-operator, if one changes two configs at the same time that both include a service restart, e.g.
binary-url
andwasm-runtime-url,
the service will restart twice. This takes extra time and is also unnecessary, there is no benefit to restarting in between the two config changes. Two proposed changes to the charm. Two proposed changes to the charm:Screenshot: