Adds swift_hash_path_prefix option in swift conf

The [swift-hash] section of the object storage installation guide
contains swift_hash_path_suffix option, but misses swift_hash_path_prefix
option. This patch adds it.

Change-Id: Id5e13db91c94ac794830f87acf6ecb970cef7556
Closes-Bug: #1332111
This commit is contained in:
Keshava Bharadwaj
2014-06-19 20:12:38 +05:30
parent 49d1139119
commit 9d070343dc
2 changed files with 3 additions and 2 deletions

View File

@@ -123,7 +123,7 @@
</step> </step>
</procedure> </procedure>
<note> <note>
<para>The suffix value in <filename>/etc/swift/swift.conf</filename> <para>The prefix and suffix value in <filename>/etc/swift/swift.conf</filename>
should be set to some random string of text to be used as a salt should be set to some random string of text to be used as a salt
when hashing to determine mappings in the ring. This file must when hashing to determine mappings in the ring. This file must
be the same on every node in the cluster!</para> be the same on every node in the cluster!</para>

View File

@@ -1,3 +1,4 @@
[swift-hash] [swift-hash]
# random unique string that can never change (DO NOT LOSE) # random unique string that can never change (DO NOT LOSE)
swift_hash_path_prefix = xrfuniounenqjnw
swift_hash_path_suffix = fLIbertYgibbitZ swift_hash_path_suffix = fLIbertYgibbitZ