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

Created on 15 Nov 2019  路  4Comments  路  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 allChannelMembersForUserCache 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 allChannelMembersForUserCache 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-20102

AreDB Medium Help Wanted PR Exists TecGo

Most helpful comment

May I take this one ?

All 4 comments

May I take this one ?

I would love to give it a shot.

Thanks @sideling02 :+1:

Hi @sideling02, have you made any progress on this ticket? Feel free to ask questions in here on the mattermost community server listed in the original issue description. Thanks!

Was this page helpful?
0 / 5 - 0 ratings