refactor: update partition handling to use Range struct for better clarity and consistency

This commit is contained in:
2026-04-13 22:36:07 -05:00
parent ed889b740a
commit 1ce3d9e153
6 changed files with 30 additions and 23 deletions

View File

@@ -23,9 +23,9 @@ func PartitionRangeGenerator(
if rowsCount <= rowsPerPartition {
return []models.Partition{{
Id: uuid.New(),
ShouldUseRange: false,
RetryCounter: 0,
Id: uuid.New(),
HasRange: false,
RetryCounter: 0,
}}, nil
}