brave / brave/go-sync

Clean up deleted items from the database

Open
#311 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
367
Forks
83
Avg merge
3d 8h
Merged PRs (30d)
4

Description

We need to hold on to deleted items for a while in order to give all devices a chance to sync the deletions and remove the local copies of these items. After a while however, we could clean these up and remove them from the server entirely.

At the moment, we don't do this and so deleted items persist (E2E encrypted) on the server until the Sync account itself is deleted.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the Go sync server records and serves deleted items, then determine an appropriate retention period that allows devices to synchronize deletions. Done means deleted items remain available during that period and are removed from the server afterward, without removing newer deletions prematurely.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.