HomePhabricator
Diffusion Comm 082447a2d740

[lib] Check ID conflicts when processing operations

Description

[lib] Check ID conflicts when processing operations

Summary:
We should check whether an entity with the same ID exists and discard an operation in a case of conflict

https://linear.app/comm/issue/ENG-9190/alternative-solution-update-canbeprocessed-functions

Test Plan:
Tested some scenarios:

  1. Repeated text message with the same ID
  2. Creating sidebars with
    1. the same thread ID
    2. the same sidebar source message ID
    3. the same create sidebar message ID
  3. Repeated changing thread settings with the same message ID prefix

Reviewers: kamil, will

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Wed, Sep 25, 10:13 AM
Reviewer
kamil
Differential Revision
D13464: [lib] Check ID conflicts when processing operations
Parents
rCOMM78023115da35: [lib] Update thick thread avatars logic
Branches
Unknown
Tags
Unknown