StreamManager.updateStream should scale stream to uphold minumum number of segments (or fixed number of segments) #2887
Labels
area/controller
kind/bug
Correctness issue
kind/enhancement
Improvements that should be made
priority/P1
status/in-progress
version/0.9.1
version/0.10.0
Problem description
Currently updating minimum number of segments for a stream results in scaling policy update in stream configuration.
The policy enforcement happens during subsequent scale requests. This means if a stream had lesser number of segments than the minimum number of segments specified in the policy, then it will continue to remain below the newly configured value.
We should evaluate if we should automatically trigger a scale up in response to updateStream request to change the number of segments in the stream to at least meet minimum number of segments requirement.
Similarly, for a fixed sized stream, if the minNumberOfSegments are changed, the stream should automatically change the partitioning.
Problem location
UpdateStreamTask
Suggestions for an improvement
Scale the stream to minimum number of segments during update workflow.
The text was updated successfully, but these errors were encountered: