summaryrefslogtreecommitdiffstats
path: root/einterfaces/cluster.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-8622: Improved plugin error reporting (#8737)Jesse Hallam2018-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow `Wait()`ing on the supervisor In the event the plugin supervisor shuts down a plugin for crashing too many times, the new `Wait()` interface allows the `ActivatePlugin` to accept a callback function to trigger when `supervisor.Wait()` returns. If the supervisor shuts down normally, this callback is invoked with a nil error, otherwise any error reported by the supervisor is passed along. * improve plugin activation/deactivation logic Avoid triggering activation of previously failed-to-start plugins just becase something in the configuration changed. Now, intelligently compare the global enable bit as well as the each individual plugin's enabled bit. * expose store to manipulate PluginStatuses * expose API to fetch plugin statuses * keep track of whether or not plugin sandboxing is supported * transition plugin statuses * restore error on plugin activation if already active * don't initialize test plugins until successfully loaded * emit websocket events when plugin statuses change * skip pruning if already initialized * MM-8622: maintain plugin statuses in memory Switch away from persisting plugin statuses to the database, and maintain in memory instead. This will be followed by a cluster interface to query the in-memory status of plugin statuses from all cluster nodes. At the same time, rename `cluster_discovery_id` on the `PluginStatus` model object to `cluster_id`. * MM-8622: aggregate plugin statuses across cluster * fetch cluster plugin statuses when emitting websocket notification * address unit test fixes after rebasing * relax (poor) racey unit test re: supervisor.Wait() * make store-mocks
* remove more global refs (#7480)Chris2017-09-211-10/+0
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* Fixing leader election (#7267)Corey Hulen2017-09-051-0/+1
|
* PLT-6079 Adding leader election (#7105)Corey Hulen2017-08-161-0/+1
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Implement GET /logs endpoint for APIv4 (#5778)Joram Wilander2017-03-161-1/+1
|
* Merge 3.7 changes into master (#5679)Joram Wilander2017-03-071-0/+1
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* Revert "Adding caching to get channel member (#5518)"Christopher Speller2017-02-271-1/+0
| | | | This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
* Adding caching to get channel member (#5518)Christopher Speller2017-02-241-0/+1
|
* PLT-3193 Add channel notification preferences for push and email notiā€¦ (#5500)enahum2017-02-231-0/+1
| | | | | | | | | | | | | | | | * PLT-3193 Add channel notification preferences for push and email notifications * unit tests, model validation and localization * Feedback review * Adding back allowFromCache check * Setting push and email to use default settings * Move props as constants * address feedback
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-0/+3
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Adding caching layer to some posts calls (#4779)Christopher Speller2016-12-141-0/+2
|
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-0/+1
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* PLT-4357 Adding stats to HA (#4638)Corey Hulen2016-11-281-0/+1
| | | | | | | | * PLT-4357 adding stats to HA * PLT-4357 adding stats to HA * Fixing getting stats from the current server
* Fixing clustering problem (#4320)Corey Hulen2016-10-251-1/+0
|
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-0/+32
* PLT-2899 adding clustering of app servers * PLT-2899 base framework * PLT-2899 HA backend * PLT-2899 Fixing config file * PLT-2899 adding config syncing * PLT-2899 set System console to readonly when clustering enabled. * PLT-2899 Fixing publish API * PLT-2899 fixing strings