| commit | 7f2d30f1861404c12db1aeeaa744572db04aa6d1 | [log] [tgz] |
|---|---|---|
| author | Grant Paláu Spencer <gspencer@linkedin.com> | Tue Jan 28 10:05:08 2025 -0800 |
| committer | GitHub <noreply@github.com> | Tue Jan 28 10:05:08 2025 -0800 |
| tree | f30a47643ae0675b748923040420dee82d8b193b | |
| parent | 892fc2710c994261ccc46236c3ff9d66c2af32ea [diff] |
Fix endless creation of best possible nodes triggered by unintended modification of cached best possible map. (#2970) The baseline and bestPossible maps are type Map<String, ResourceAssignment>. When this map is stored in the cache by persistBaseline() and persistBestPossibleAssignment(), the ResourceAssignment objects can still be accessed and modified after calling the relevant persist method. This change creates a deep copy of the assignment map with new ResourceAssignment objects to prevent unintended modification of the cached assignment after the call to persist.

Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install -Dmaven.test.skip.exec=true
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:
Helix UI has been tested to run well on these versions of node and yarn:
"engines": { "node": "~14.17.5", "yarn": "^1.22.18" },