Page MenuHomePhabricator

[lib] add ops for message store threads
ClosedPublic

Authored by kamil on Apr 12 2023, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 30, 1:36 AM
Unknown Object (File)
Wed, May 29, 6:45 AM
Unknown Object (File)
Wed, May 29, 6:45 AM
Unknown Object (File)
Wed, May 29, 6:45 AM
Unknown Object (File)
Sun, May 26, 8:57 AM
Unknown Object (File)
Apr 28 2024, 12:57 PM
Unknown Object (File)
Apr 28 2024, 12:57 PM
Unknown Object (File)
Apr 28 2024, 12:57 PM
Subscribers

Details

Summary

Operations to remove, replace, and remove all threads.

Test Plan

Process each operation and check if it works.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
lib/utils/message-ops-utils.js
254 ↗(On Diff #25045)

to avoid native crashes for now, filtering or any other more readable approach makes flow complaining

kamil published this revision for review.Apr 13 2023, 8:18 AM
kamil added inline comments.
lib/types/message-types.js
416 ↗(On Diff #25099)

Threads are small objects, and there might be a situation when we will update a lot of them at once - that's why it's better to make one operation with multiple threads to reduce overhead.

@atul is rather busy right now and probably won't be able to review anytime soon, but if I recall correctly I think he was the original architect of the message ops, so would be good for him to take a pass here

@atul is rather busy right now and probably won't be able to review anytime soon, but if I recall correctly I think he was the original architect of the message ops, so would be good for him to take a pass here

I can take a look this weekend after avatars work... hopefully that's not too much of a delay.

This revision is now accepted and ready to land.Apr 14 2023, 4:54 AM
This revision was automatically updated to reflect the committed changes.