๐๐ฎ๐๐ฎ, ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ & ๐๐. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
This PR fixes an issue where the write progress could become inconsistent when compaction was triggered after a write. Previously, compaction failures would cause an early return, skipping the reset of write progress and resulting in incorrect output.
After the fix, the write progress will consistently reflect the result of the write operation, regardless of whether the compaction succeeds or fails.
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 fixes an issue where the write progress could become inconsistent when compaction was triggered after a write. Previously, compaction failures would cause an early return, skipping the reset of write progress and resulting in incorrect output. After the fix, the write progress will consistently reflect the result of the write operation, regardless of whether the compaction succeeds or fails.
Tests
Type of change
This change isโ