Meteor-Community-Packages / Meteor-Community-Packages/ground-db

Auto cleanup as data grows

Open
#192 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
569
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Is there an easy way to clean up docs in a groundDB to prevent it from growing? Should we simply listen to `isDone` event and call `keep` when it goes over a number of docs?

Contributor guide

Open the contributing guide

Research direction

Review the GroundDB APIs and usage around the `isDone` event and `keep` method first. Clarify whether cleanup should be triggered automatically at a document-count threshold, and define the retention behavior and completion criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.