vmpooler/lib/vmpooler
Gene Liverman a0caa41a54
(DIO-2675) Undo pool size template overrides
This implements a delete method for pooltemplate and poolsize. The API
removes the override from Redis and then adds an entry in Redis that
causes the pool manager to wake up and process the removal of the
override.

To facilitate this, a new variable has been created in lib/vmpooler.rb
to hold a copy of the original / pre-override config. This supplemental
copy of the pools is then indexed for use as a reference.

When pool manager wakes up to process an override removal, it looks up
the pre-override value from the config via the new variables mentioned
above.

Just as with entering overrides, no restart is needed. Template and pool
size changes are logged so that anyone watching or reviewing the logs
can see what happened when. The new API endpoints also return values for
both the pre-revert and post-revert value.
2021-11-04 14:03:06 -04:00
..
api (DIO-2675) Undo pool size template overrides 2021-11-04 14:03:06 -04:00
metrics Add operation label to user metric and move from manager to api 2021-08-13 11:23:10 -04:00
providers Rubocop fix 2020-10-23 17:41:02 -07:00
public Fix JavaScript error on nil weekly_data 2016-11-21 17:05:58 -08:00
util (POOLER-174) Reduce duplicate of on demand code introduced in POOLER-158 (#383) 2020-06-11 12:39:34 -05:00
views dashboard2 2016-01-13 12:01:05 -08:00
api.rb Add healthcheck endpoint, spec testing 2020-09-22 12:25:26 -07:00
dashboard.rb Merge pull request #360 from highb/2020-03-05_unsafe_rubocop_fixes 2020-03-05 16:03:21 -08:00
generic_connection_pool.rb (POOLER-160) Revise connection metrics 2020-06-29 19:52:14 +01:00
logger.rb Use URI.parse.open/File.open instead of open 2020-03-05 16:56:06 -08:00
metrics.rb (POOLER-160) Revise Metrics Classwork 2020-06-29 19:54:28 +01:00
pool_manager.rb (DIO-2675) Undo pool size template overrides 2021-11-04 14:03:06 -04:00
providers.rb Fixing Naming/PredicateName issues 2020-03-05 17:10:22 -08:00
version.rb (GEM) update vmpooler version to 1.2.0 2021-09-15 13:54:19 +00:00