Page MenuHomePhabricator

[lib] Use setLocalFID when updating local FID to match identity
ClosedPublic

Authored by ashoat on Oct 16 2024, 8:56 PM.
Tags
None
Referenced Files
F3518804: D13738.id45240.diff
Sun, Dec 22, 8:44 PM
Unknown Object (File)
Wed, Dec 4, 4:34 AM
Unknown Object (File)
Mon, Nov 25, 8:14 AM
Unknown Object (File)
Nov 20 2024, 8:56 AM
Unknown Object (File)
Nov 20 2024, 8:56 AM
Unknown Object (File)
Nov 19 2024, 12:03 AM
Unknown Object (File)
Nov 18 2024, 9:32 PM
Unknown Object (File)
Nov 8 2024, 2:38 PM
Subscribers

Details

Summary

unlinkFID was wrong here because:

  1. We don't need to contact identity to update an FID we got from identity
  2. If the FID is non-null, we end up erasing it

Instead we should just update the local FID to match identity.

Depends on D13737

Test Plan

Careful analysis of this case (it happens when identity FID doesn't match local FID)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage