Config update results in `FeatureFlags` section being added and removed

Description

Here's what he said:

first, a `Configurations` record is added with the change and marked as active in the database. then, and the following process happens as many times as there are nodes in the cluster:
1. a record is added and marked active with the change and also this additional content added to the config data:
```
"FeatureFlags": {
"TestFeature": "off",
"TestBoolFeature": false,
"CloudDelinquentEmailJobsEnabled": false
}
```
2. a record is added and marked active with the change and without the `FeatureFlags` data

Issue created from a message in Mattermost.

QA Test Steps

  • Make sure the reported issue doesn't reproduce anymore.

  • A smoke test around general functioning of the application, especially aimed at config changes.

Activity

Show:
Saturnino Abril
February 11, 2021, 9:31 AM

Tested and passed on 5.32.0-rc2

Saturnino Abril
February 5, 2021, 10:44 AM

Tested and passed against v5.31.1-rc1 and master. Configurations table only changes as expected and no unexpected additional row both in on-prem and cloud. Will take a look again once v5.32.0-rc2 becomes available.

Lindy Isherwood
February 4, 2021, 6:55 PM

I tested the app functionality and config changes in the sys console on prev.test set to v5.31.1-rc1 and did not find any issues.

Lindy Isherwood
February 3, 2021, 8:56 AM

I tested the app functionality and config changes in the sys console on the PR. Saturn will test the reported issue no longer reproduces.

Paul Rothrock
January 29, 2021, 4:44 PM

To replicate, set up a Mattermost cluster with config in database and run the attached script. If you time it right you should see something like the attached screenshot.

 

Done
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Claudio Costa

QA Assignee

Lindy Isherwood

Reporter

Agniva De Sarker

Mattermost Team

Server

QA Testing Areas

Other (write in QA test steps)