This topic provides guidance about how to delete stale generations of records by appropriately setting the generationRetentionTime property.

As a general rule, the value of generationRetentionTime should be greater than the sum of the following:

For example, suppose a crawl, which writes to a Record Store, takes a few hours to run and runs once a day: the time between the start of two write operations is 24 hours. Next, suppose you run Forge once a day so the time between reads of the Record Store is 24 hours. Last, suppose you want to be able to revert to data up to three days old. You want a margin of safety of 72 hours. This means the value of generationRetentionTime should be at least 120. In this scenario, a value of 120 ensures there are two generations in a Record Store instance.


Copyright © Legal Notices