Page MenuHomePhabricator

[blob] Store indexable tag in DDB for holders
ClosedPublic

Authored by bartek on Oct 4 2024, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:34 AM
Unknown Object (File)
Sun, Nov 24, 2:21 AM
Unknown Object (File)
Nov 21 2024, 7:46 PM
Unknown Object (File)
Nov 21 2024, 6:33 PM
Unknown Object (File)
Nov 21 2024, 6:19 PM
Unknown Object (File)
Nov 20 2024, 9:30 AM
Subscribers

Details

Summary

Part of ENG-9367.
It's described in the issue why this is needed.

Test Plan
  • Unit tests
  • Added some holders with prefixes. Verified that prefix is stored in DDB

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Oct 6 2024, 11:51 PM
varun added inline comments.
services/blob/src/database/client.rs
444 ↗(On Diff #44909)

when is tags not an empty slice?

This revision is now accepted and ready to land.Oct 7 2024, 8:48 PM
services/blob/src/database/client.rs
444 ↗(On Diff #44909)

Now it's always empty, but I've prepared this code to easily add support for ENG-306 in the future

kamil added inline comments.
services/blob/src/database/client.rs
444 ↗(On Diff #44909)

as discussed offline - worth documenting the design with code comments, especially until ENG-306 is implemented, in the current state this could be confusing