[Bugs] [Bug 1366494] Rebalance is not considering the brick sizes while fixing the layout
bugzilla at redhat.com
bugzilla at redhat.com
Tue Aug 16 04:51:50 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1366494
Nithya Balachandran <nbalacha at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Comment #0 is|1 |0
private| |
--- Comment #1 from Nithya Balachandran <nbalacha at redhat.com> ---
RCA:
The volume was created with a single brick. On adding a second much larger
brick and running a rebalance, the layout is recalculated for all existing
directories by calling dht_fix_layout_of_directory (). This function generates
a new weighted layout in dht_selfheal_layout_new_directory () but then calls
dht_selfheal_layout_maximize_overlap () on the newly generated layout. This
function does not consider the relative brick sizes and as the original brick
had a complete layout (0x00000000-0xffffffff), the layout is swapped to
maximize the overlap with the old layout.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=OdCF6juilG&a=cc_unsubscribe
More information about the Bugs
mailing list