Post.Props is not safe for concurrent R/W

Description

A test run on circleci failed with a panic stating a "concurrent map read and map write" for Post.Props. Heads up: I'm fairly confident that the code change is not related to the panic. (PR)

I'm unsure why the concurrent R/W happend, but I think it should be investigated and made sure that this panic can't happen in production.

Panic log:

QA Test Steps

A smoke test around post should be sufficient.

Mana

None

Assignee

Claudio Costa

QA Assignee

Saturnino Abril

Reporter

Ben Schumacher

Epic Link

Fix versions

Mattermost Team

Platform

Sprint

None

QA Testing Areas

Messages

GitHub Issue

None

Components

None

Severity

S1_data_loss_or_crash
Configure