pageserver: size trigger for image layer generation #11064
Labels
c/storage/pageserver
Component: storage: pageserver
t/feature
Issue type: feature, for new features or requests
Currently the criteria for whether to generate an image layer or not is based on the number of delta layers. We should consider to make it based on size.
If we change the trigger for image layer generation to size-based, we can solve both the problems. For (1), as L0 compaction gets triggered based on L0 size, we would get a fixed-size L1 levels every time. As larger tenants cover larger keyspaces, each image layer generation partition would contain fewer data, and we will wait for more delta layers before generating images. For (2), as we look at the L1 sizes, we won't generate images if L1 levels are small.
The text was updated successfully, but these errors were encountered: