blindsidenetworks / scalelite

Scalable load balancer for BigBlueButton.
GNU Affero General Public License v3.0
469 stars 247 forks source link

A tenant name change does not update name_key in redis #937

Closed defnull closed 1 year ago

defnull commented 1 year ago

Describe the bug Changing the name of an existing tenant does not update "tenant_name:#{name}" in redis, resulting in an inconsistent redis state.

Also, there is currently no check to ensure the tenant name is unique, or ways to edit tenants without a rails console or custom task.

To Reproduce Look at https://github.com/blindsidenetworks/scalelite/blob/master/app/models/tenant.rb#L32

farhatahmad commented 1 year ago

Fixed: https://github.com/blindsidenetworks/scalelite/pull/943