Jesse Hallam
c1a27d8360
MM-39524: fix WebConn caching stale channel members ( #18840 )
...
When configured in a master/slave database environment, a read replica can sometimes return stale data to a `WebConn`, resulting in the user missing out on websocket events targetting that channel until the `WebConn` cache expires.
This is most easily reproducible by using Playbooks on community and starting a new run. The owner, or any automatically invited participants, typically find the websocket events dropped in that channel for up to 30 minutes, even after multiple page refreshes.
I've reproduced this locally, and while I've extended the unit tests, I note that they don't actually exercise this case given the need for a dedicated slave database during unit tests.
Fixes: https://mattermost.atlassian.net/browse/MM-39524
2021-10-28 11:08:09 -03:00
..
2021-10-26 17:17:44 -04:00
2021-07-22 12:21:47 +05:30
2021-09-21 17:39:52 +02:00
2021-05-11 13:00:44 +03:00
2021-10-26 11:30:59 +05:30
2021-10-26 16:55:27 +02:00
2021-08-19 10:33:29 +02:00
2021-10-12 11:39:49 +05:30
2021-10-13 15:20:40 +03:00
2021-10-21 14:00:25 +03:00
2021-10-07 12:20:40 +05:30
2021-08-17 16:08:04 -04:00
2021-07-22 12:21:47 +05:30
2021-10-26 11:30:59 +05:30
2021-10-20 09:58:25 +02:00
2021-10-14 13:57:04 +05:30
2021-08-17 16:08:04 -04:00
2021-07-22 12:21:47 +05:30
2021-08-24 10:10:40 +03:00
2021-07-22 12:21:47 +05:30
2021-08-09 11:33:21 -04:00
2021-08-30 23:06:45 +05:30
2021-08-30 23:06:45 +05:30
2021-09-03 10:29:01 +02:00
2021-09-03 10:29:01 +02:00
2021-10-12 11:39:49 +05:30
2021-09-01 14:43:12 +02:00
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-10-26 11:30:59 +05:30
2021-10-28 11:05:46 +03:00
2021-10-26 00:05:11 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-28 13:15:46 +05:30
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-09-01 14:43:12 +02:00
2021-07-21 16:38:39 +02:00
2021-08-17 11:25:22 +03:00
2021-08-06 13:18:40 +05:30
2021-07-22 12:21:47 +05:30
2021-10-26 00:05:11 +05:30
2021-01-04 11:32:29 +05:30
2021-08-19 10:33:29 +02:00
2021-07-22 12:21:47 +05:30
2021-08-16 19:46:44 +02:00
2021-08-16 19:46:44 +02:00
2021-07-22 12:21:47 +05:30
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-10-15 19:29:06 +05:30
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-09-21 17:39:52 +02:00
2021-09-21 17:39:52 +02:00
2021-05-25 22:00:57 -03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-08-17 16:08:04 -04:00
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-09-01 14:43:12 +02:00
2021-10-12 11:39:49 +05:30
2021-08-12 17:43:10 +02:00
2021-10-13 15:20:40 +03:00
2021-10-13 15:20:40 +03:00
2021-09-21 17:39:52 +02:00
2021-09-21 17:39:52 +02:00
2021-03-24 10:32:16 +01:00
2021-03-24 10:32:16 +01:00
2021-07-22 12:21:47 +05:30
2021-09-01 14:43:12 +02:00
2021-09-21 17:39:52 +02:00
2021-09-01 14:43:12 +02:00
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-08-04 11:10:53 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-09-02 18:57:18 +02:00
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-08-17 16:08:04 -04:00
2021-09-14 13:22:59 -04:00
2021-09-01 11:59:01 +02:00
2021-09-16 22:08:31 +03:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-08-26 15:24:12 -04:00
2021-10-28 11:05:46 +03:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-08-12 11:49:16 +02:00
2021-10-15 19:57:05 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-10-20 12:12:58 +02:00
2021-10-26 11:30:59 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-05-11 13:00:44 +03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-26 13:41:20 +05:30
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2019-12-05 23:41:52 +04:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-10-07 12:57:51 +05:30
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-14 13:57:04 +05:30
2021-10-13 10:51:27 -04:00
2021-10-14 13:57:04 +05:30
2021-10-16 09:09:22 +05:30
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-10-18 19:38:16 +05:30
2021-10-11 19:24:50 +05:30
2021-07-22 12:21:47 +05:30
2021-08-19 10:33:29 +02:00
2021-10-12 11:39:49 +05:30
2021-09-27 22:01:16 -03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2019-11-29 12:59:40 +01:00
2021-08-09 11:33:21 -04:00
2021-09-01 14:43:12 +02:00
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-09-01 14:43:12 +02:00
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-10-28 08:06:34 -04:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-08-09 11:33:21 -04:00
2021-07-22 12:21:47 +05:30
2021-10-12 11:39:49 +05:30
2021-07-22 12:21:47 +05:30
2021-09-01 14:43:12 +02:00
2021-09-07 19:09:48 +02:00
2021-07-22 12:21:47 +05:30
2021-10-13 15:20:40 +03:00
2021-10-13 15:20:40 +03:00
2021-07-22 12:21:47 +05:30
2021-07-22 12:21:47 +05:30
2021-08-12 17:43:10 +02:00
2020-03-19 11:18:17 +01:00
2020-03-19 11:18:17 +01:00
2020-06-19 17:49:30 +05:30
2021-07-22 12:21:47 +05:30
2021-10-19 19:17:08 +05:30
2021-07-22 12:21:47 +05:30
2021-10-26 11:30:59 +05:30
2021-10-28 11:08:09 -03:00
2021-10-28 11:08:09 -03:00
2021-10-18 12:36:13 +05:30
2021-10-18 12:36:13 +05:30
2021-09-13 14:23:50 +02:00
2021-09-27 22:01:16 -03:00
2021-10-18 12:36:13 +05:30
2021-10-18 12:36:13 +05:30