mozilla-services / mozilla-services/syncstorage-rs

Add "touched" field for sync data

Open
#1,672 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.8k
Forks
86
Avg merge
2d 17h
Merged PRs (30d)
21

Description

The “meta” collection (6) is a server readable field. It records all collections that a user may be storing on sync. The modified field indicates the last time that the collection set was altered. The modified field for collection 6 may be years different than the actual latest date a user had written data.

For business reasons, we would like to know the last time a user “touched” their data. This would assist in knowing active use and abandonment. This field could either be an extra field or could be a separate database keyed by the fxa & kid

┆Issue is synchronized with this Jira Task

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name implementation files or tests. Start by tracing how the meta collection (6) and its modified field are represented and updated, then determine how the latest data touch should be recorded for each fxa and kid. Done means the service exposes a reliable last-touched value for business use without confusing it with the collection-set modification date.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.