-
Story
-
Resolution: Done
-
Major
-
None
-
None
Story
As a user of RHDH, I don't wait minutes for RHDH to start when all I did was a simple configuration change.
Background
Currently, it takes a long time for RHDH to restart because we bootstrap all dynamic plugins from zero with every restart. The dynamic-plugins-root volume is presently configured as ephemeral to simplify handling updates.
As part of this Story, we want to ensure that all plugins are not downloaded again from scratch when the dynamic plugins configuration does not change. It is ok if all plugins are downloaded when there was a change in dynamic plugins.
The idea discussed with rh-ee-mhild was that change dynamic-plugins-root PVC to be durable (not ephemeral) and do some kind of checksum on dynamic-plugin-config that will get stored in dynamic-plugins-directory. The plugin bootstrapping process will be triggered only when there is a change in the config (checksum stored in dynamic-plugins-config from the previous run is different than checksum computed for the current config)