Updated DatabaseClient::set_prekey to also update the devices table with the new prekey (double-writing).
Depends on D10301
Paths
| Differential D10302 Authored by bartek on Dec 12 2023, 12:58 AM.
Details Summary Updated DatabaseClient::set_prekey to also update the devices table with the new prekey (double-writing). Depends on D10301 Test Plan Called RefreshUserPreKeys RPC and checked with awslocal dynamodb scan that both users and devices table were updated correctly (with the same prekeys)
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptDec 12 2023, 12:58 AM2023-12-12 00:58:02 (UTC-8) Harbormaster completed remote builds in B24973: Diff 34511.Dec 12 2023, 1:46 AM2023-12-12 01:46:00 (UTC-8) This revision is now accepted and ready to land.Dec 19 2023, 8:28 PM2023-12-19 20:28:37 (UTC-8) Closed by commit rCOMM478280da1600: [identity] Make set_prekey() update devices table too (authored by bartek). · Explain WhyJan 15 2024, 6:53 AM2024-01-15 06:53:37 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 35622 services/identity/src/database.rs
services/identity/src/database/device_list.rs
|