HomePhabricator
Diffusion Comm ff536cc87f89

[lib] Apply the queued updates

Description

[lib] Apply the queued updates

Summary:
When a thread appears in the store, we should process all the operations that were queued for it.

https://linear.app/comm/issue/ENG-8769/apply-the-queued-updates

Depends on D12954

Test Plan: Processed an operation that updates thread name, with a thread ID that isn't present in the store. Then processed another operation that creates a thread with this ID. Checked that the name of the created thread matched the value from the first operation. Also checked that the queue no longer contains the operations.

Reviewers: kamil, inka

Reviewed By: inka

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12956

Details

Provenance
tomekAuthored on Aug 1 2024, 10:14 AM
Reviewer
inka
Differential Revision
D12956: [lib] Apply the queued updates
Parents
rCOMM6d2a2647aeab: [lib] Create an operation pruner
Branches
Unknown
Tags
Unknown