Open Bug 1640059 Opened 4 years ago

Consider making the .meta.json file of attachment dumps optional

Categories

(Firefox :: Remote Settings Client, enhancement)

enhancement

Tracking

()

People

(Reporter: robwu, Unassigned)

Details

Attachment dumps consist of the file itself plus a .meta.json file with a copy of the original record. This serves two purposes:

  • The record data is independent of the original collection, and can be updated independently of the collection if the use case needs that.
  • The implementation can easily look up the JSON data.

Currently there is only one consumer of packaged attachment dumps (bug 1620621), which uses a custom attachment ID. If there is ever a use case where attachment IDs are directly derived from record IDs, then we can consider making the .meta.json file optional, and look up the ID in the JSON dump of records instead.

You need to log in before you can comment on or make changes to this bug.