Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0-incubating
-
None
Description
Suppose an application regularly creates and deletes tables (for example, temporary tables). In such a scenario, there will always be such a temporary table when pruning runs, and its regions will be recorded for that time. However, the region will be deleted before it ever compacts or flushes, and it will never record prune information. Because all prune times have such regions, there will never be a set of transactional regions that all have prune info, and pruning will never happen.
The fix is to exclude deleted tables from the list of regions at each time. This is all regions of deleted tables (tables that do not exist any more), not deleted regions: a region may disappear due to a split and its data will be in new regions.
Attachments
Issue Links
- relates to
-
TEPHRA-254 Handle transient tables that get recreated multiple times during pruning
- Open
-
TEPHRA-35 Prune invalid transaction set once all data for a given invalid transaction has been dropped
- Resolved
- links to