Read-after-write consistency

Description

None

QA Test Steps

High level:

1. Reply to new post before replication completes. See no error.
2. Login and clear cache before replication completes. Reload page.
3. First login of LDAP user gets all expected memberships (groups, teams, and channels).
4. LDAP sync adds the following memberships for q users where q > 1 (group, team, channel).
5. Clear all caches as system admin, reload the page and don't get logged out immediately.
6. General smoke testing of the app does not trigger too many unnecessary extra reads against master (as monitored by the logging).

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Martin Kraft

Fix versions

None

Mattermost Team

Enterprise

Sprint

None

Labels

QA Testing Areas

None

GitHub Issue

None

Components

None

Epic Name

read-after-write consistency