Files
mostlymatter/app
Agniva De Sarker 0bf1a91ad8 MM-49485: Properly disable plugin in product mode (round 2) (#22195)
There were multiple issues at play here.

1. If the plugin was disabled in ch.syncPlugins,
then the prepackaged plugin would not be processed.
Therefore, if there was an earlier version of the plugin
that remained in S3, that would show up instead.

Therefore, we have to let the full plugin extraction
procedure go ahead, but not enable focalboard.

2. We also need to send the disablePlugin signal
to the other node. But the signal won't be sent
until the cluster leader is elected and inter-node
communication is set up. Therefore, we need to listen
to the ClusterLeaderChanged event and send out
a disable plugin event as well.

When both these issues are taken care of,
then we would correctly see the version of the plugin
from the prepackaged_plugins directory in the disabled
state.

https://mattermost.atlassian.net/browse/MM-49485

```release-note
NONE
```
2023-02-01 19:43:44 +05:30
..
2022-08-18 11:01:37 +02:00
2022-08-23 11:42:04 +03:00
2022-12-29 13:38:38 +04:00
2022-08-18 11:01:37 +02:00
2021-08-17 16:08:04 -04:00
2022-12-29 13:38:38 +04:00
2023-01-20 15:43:05 -06:00
2022-08-18 11:01:37 +02:00
2023-01-06 15:41:06 -05:00