You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create/update activities from Mattermost to Teams: Let's say we add a reaction on Mattermost, and in the plugin hook we make an API call to add the corresponding reaction on MS Teams. Before storing the lastUpdateAt time in the database, we receive an update event from MS Teams, and we check for the lastUpdateAt time in the database for the corresponding post which might not be updated at that moment due to which we again make changes on Mattermost. This also causes an issue of reactions not syncing from MS Teams to Mattermost.
* Removing transaction parameter from SaveChannelSubscription store method
* Removing the transactions (that reintroduces the the bugs #327 and #330
* Removing more stuff from the transactions
* Using cluster mutexes to serialize per-post certain actions
* Adding error handling to mutex creation
* Fixing timer layer generation
* Fixing CI
* Fixing CI
* Fixing CI
* Fixing tests
* Fixing tests
* Fixing tests
* Fixing tests
Handle race conditions at various places:
lastUpdateAt
time in the database, we receive an update event from MS Teams, and we check for thelastUpdateAt
time in the database for the corresponding post which might not be updated at that moment due to which we again make changes on Mattermost. This also causes an issue of reactions not syncing from MS Teams to Mattermost.getOrCreateSyntheticUser
https://github.com/mattermost/mattermost-plugin-msteams-sync/blob/dfab068dd25eb243fc0a7cadf748d03a4c607c0f/server/handlers/getters.go#L91Issue 327_ Handle race conditions at various places using mutex.pdf
The text was updated successfully, but these errors were encountered: