๐๐ฎ๐๐ฎ, ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ & ๐๐. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
This PR addresses the issue of potential fragmentation during the recluster process, preventing the system from entering an infinite recluster loop.
By optimizing the reclustering logic, this update minimizes the likelihood of producing excessively small fragments, enhancing system stability and effectively preventing infinite loop issues.
Tests
[ ] Unit Test
[ ] Logic Test
[ ] Benchmark Test
[x] No Test - Explain why
Type of change
[x] Bug Fix (non-breaking change which fixes an issue)
[ ] New Feature (non-breaking change which adds functionality)
[ ] Breaking Change (fix or feature that could cause existing functionality not to work as expected)
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
This PR addresses the issue of potential fragmentation during the recluster process, preventing the system from entering an infinite recluster loop. By optimizing the reclustering logic, this update minimizes the likelihood of producing excessively small fragments, enhancing system stability and effectively preventing infinite loop issues.
Tests
Type of change
This change isโ