Mattermost-server: Migrate channelCache cache from store/sqlstore/channel_store.go to the new store/localcachelayer

Created on 15 Nov 2019  路  3Comments  路  Source: mattermost/mattermost-server

Mattermost is migrating the old way to implement caches moving them behind a transparent layer on to of the store and we're looking for contributors to help with that effort. This Help Wanted issue is to migrate the channelCache cache variable in the store/sqlstore/channel_store.go file to the store/localcachelayer.

The expected way to implement it is, go to the store/sqlstore/channel_store.go file get all the code that is related to the cache variable channelCache and move it to the store/localcachelayer

Besides is expected to generate tests mocking the database store, and checking that the cache behavior is the expected one.

Example: mattermost/mattermost-server#13045

If you have any question, you can contact with jesus.espino at https://community.mattermost.com


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-20104

AreDB Medium Help Wanted PR Exists TecGo

Most helpful comment

@amyblais hi, I would like to take this task

All 3 comments

I will be working on this one.

@amyblais Please make it open for the public. I won't be able to contribute due to time constraints.

@amyblais hi, I would like to take this task

Was this page helpful?
0 / 5 - 0 ratings