Commit 8f5803d
authored
HBASE-29474 RegionSplitter.rollingSplit is broken (#7174)
Avoid concurrent modification by iterating over a snapshot of the keys.
Also, revive the sorting logic for the ServerName list, which was mistakenly
removed in 5e91b45.
Signed-off-by: Duo Zhang <[email protected]>1 parent bdefd1e commit 8f5803d
File tree
2 files changed
+8
-6
lines changed- hbase-server/src
- main/java/org/apache/hadoop/hbase/util
- test/java/org/apache/hadoop/hbase/util
2 files changed
+8
-6
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | | - | |
466 | | - | |
| 469 | + | |
467 | 470 | | |
468 | | - | |
469 | | - | |
| 471 | + | |
470 | 472 | | |
471 | 473 | | |
472 | 474 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments