Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Clean-up sync artifacts in Smarti-MongoDB #272

Open
ruKurz opened this issue Jun 25, 2018 · 2 comments
Open

Clean-up sync artifacts in Smarti-MongoDB #272

ruKurz opened this issue Jun 25, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@ruKurz
Copy link
Collaborator

ruKurz commented Jun 25, 2018

The DELETE operation does mark the conversation as deleted AND deletes all messages. The conversation and its metadata are preserved as those information are required for cloud-sync of the embedded Solr Servers managed by the different Smarti instances.

For clean up one could run a Mongo task that physically deletes all conversations that where marked as deleted for longer as a given time period (e.g. 1 day).

NOTES:

  1. Even when using an external Solr those Information are critical to sync the Index after a down period (as one needs to know what conversations need to be deleted from the index).
  2. When a clean up process is in place Solr Indexes that are out of sync for longer as the configured time period of the clean up process need to be deleted and fully rebuild.

#257

@westei
Copy link
Member

westei commented Jun 25, 2018

When we can use Mongo TTL indexes we will implement this within #257

@westei westei self-assigned this Jun 25, 2018
@westei westei added this to the v0.7.7 milestone Jun 25, 2018
@westei westei added the ready label Jun 25, 2018
@westei westei modified the milestones: v0.7.7, v.0.7.8 Sep 10, 2018
@westei westei modified the milestones: v.0.7.8, v0.9.0 Sep 24, 2018
@westei
Copy link
Member

westei commented Sep 24, 2018

Added this to the Solr Update project, as Cloudsync will go away when using an external Solr Server and therefore this is also related to this update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants