- All Implemented Interfaces:
@Deprecated public final class DeleteOldCommitLogsAction extends java.lang.Object implements java.lang.RunnableDeprecated.Task that garbage collects old
Once commit logs have been written to GCS, we don't really need them in Datastore anymore, except to reconstruct point-in-time snapshots of the database. To make that possible,
EppResources have a
EppResource.getRevisions()method that returns the commit logs for older points in time. But that functionality is not useful after a certain amount of time, e.g. thirty days, so unneeded revisions are deleted (see
CommitLogRevisionsTranslatorFactory). This leaves commit logs in the system that are unneeded (have no revisions pointing to them). So this task runs periodically to delete the "orphan" commit logs.