Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.

Conversation

mserranom
Copy link
Contributor

Disables project-history service call. Flag is used by document-updater to flush changes after deletion https://github.com/overleaf/document-updater/blob/master/app/coffee/HistoryManager.coffee#L30

Fixes overleaf/overleaf#644.

Copy link
Member

@das7pad das7pad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flag is also used in the RedisManager [0] to skip the queuing of ops into redis.

The queue is not consumed by any OSS service. Maybe add a migration script to free the queue items? This could be an EXPIRE call on the queue key with an arbitrary high value to give the server pro services time to pick up any old items. Newly queued items are not impacted by the EXPIRE call.


[0] https://github.com/overleaf/document-updater/blob/d08c37ebfc6c95b42c54283646adc63449c10dd5/app/coffee/RedisManager.coffee#L268

@JuneKelly JuneKelly assigned mserranom and unassigned JuneKelly Oct 15, 2019
@mserranom mserranom merged commit 1c57b1d into master Oct 15, 2019
@mserranom mserranom deleted the msm-disable-project-history branch October 15, 2019 09:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Delete Forever" has no effect in 2.0.0
3 participants