Mahesh Reddy created KUDU-3532:
----------------------------------
Summary: Unable to place replicas using range aware logic with
multiple locations
Key: KUDU-3532
URL: https://issues.apache.org/jira/browse/KUDU-3532
Project: Kudu
Issue Type: Bug
Components: master
Affects Versions: 1.17.0
Reporter: Mahesh Reddy
Assignee: Mahesh Reddy
Fix For: 1.18.0
When multiple locations exist, it's possible an std::length_error will be
thrownÂ
[here|https://github.com/apache/kudu/blob/master/src/kudu/master/placement_policy.cc#L385].
An implicit conversion from unsigned long to int is the culprit here. If
"choices_size" is negative, the implicit conversion to int will make it larger
than the the max size allowed to reserve a vector and an error will be thrown.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)