Details
-
Improvement
-
Status: In Review
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Introducing size-bound merge policy to account for cloud service providers' max blob storage file size and to prevent exceeding that specified limit.
- Add storage config to set max mergable component size.
- Add a new merge policy and make it our default.
- The new merge policy will schedule merges similar to the current ConcurrentMergePolicy but it will consider the max mergable component size.
- Update the isMergeLagging check on max components to use the "effective" meragable components which can actually be merged rather than the current total number of disk components.
- In case of max components is reached and no merges could be scheduled, force a merge on the effective meragable components.