rebalance and volume commit hash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Can you tell me please why every volume rebalance generates a new value
for the volume commit hash?

If I have fully rebalanced cluster (or almost) with millions of
directories then rebalance has to change DHT xattr for every directory
only because there is a new volume commit hash value. It is pointless in
my opinion. Is there any reason behind this? As I observed, the volume
commit hash is set at the rebalance beginning which totally destroys
benefit of lookup optimization algorithm for directories not
scanned/fixed yet by this rebalance run.

I'm also curious what is happening during file lookup. As I know DHT
hash ranges are stored only in DHT xattr on every brick.
If gluster needs to find on which brick the file is located, it has to
read DHT xattr from every distribute brick to build complete hash ring.
Am I right?
I suppose this information is then cached but for how long and how big
is this cache, is it configurable?

Thanks,

-- 
Piotr Misiak
Senior Cloud Engineer
CloudFerro Sp. z o.o.


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux