Translators/cluster/distribute

From GlusterDocumentation

Translator cluster/distribute

Distribute translator, or DHT, or simply, hash translator is designed for O(1) scalability. This does not need any namespace translator, hence for applications which use lot of small files, it will be a significant improvement.

volume bricks
  type cluster/distribute
#  option lookup-unhashed yes
#  option min-free-disk 20%
  subvolumes brick1 brick2 brick3 brick4 brick5 brick6 brick7
end-volume
  • lookup-unhashed

This option when provided, will make the dht translator act as a generic cluster translator where it sends lookup call on all the subvolumes, hence there will be no files missing over filesystem. This option is very much useful when someone is shifting to 'cluster/distribute' translator from 'cluster/unify' translator which was the default clustering translator in earlier releases. Default option 'off'


  • min-free-disk

This option tells the 'cluster/distribute' volume to stop creating files in the volume where the file gets hashed to, if the available disk space is lesser than the given option. Default option '10%'


  • subvolumes

This option lists the subvolumes that are part of this 'cluster/distribute' volume. This translator requires more than one subvolume.


Understanding DHT Translator for more technical details.

 

Copyright © Gluster, Inc. All Rights Reserved.