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)
Fri, Dec 20, 4:30 AM
Unknown Object (File)
Fri, Dec 20, 4:18 AM
Unknown Object (File)
Fri, Dec 20, 4:07 AM
Unknown Object (File)
Fri, Dec 20, 3:53 AM
Unknown Object (File)
Thu, Dec 19, 9:25 PM
Unknown Object (File)
Sat, Dec 7, 7:29 AM
Unknown Object (File)
Sat, Dec 7, 7:29 AM
Unknown Object (File)
Thu, Dec 5, 2:25 AM
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
Branch
ops-for-ms
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
lib/utils/message-ops-utils.js
254

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.