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
F3327387: D13615.id45072.diff
Wed, Nov 20, 9:30 AM
F3327384: D13615.id45083.diff
Wed, Nov 20, 9:30 AM
Unknown Object (File)
Fri, Nov 15, 3:27 PM
Unknown Object (File)
Sat, Nov 9, 11:39 PM
Unknown Object (File)
Wed, Nov 6, 11:33 PM
Unknown Object (File)
Thu, Oct 31, 10:00 PM
Unknown Object (File)
Wed, Oct 30, 5:11 PM
Unknown Object (File)
Wed, Oct 30, 5:26 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
Lint Not Applicable
Unit
Tests Not Applicable

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