This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
forked from voldemort/voldemort
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate dummy stores for 2 and 3 zone cluster
- Loading branch information
Showing
2 changed files
with
157 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<stores> | ||
<store> | ||
<name>dummy_322_one</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>6</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">3</replication-factor> | ||
<replication-factor zone-id="1">3</replication-factor> | ||
</zone-replication-factor> | ||
<required-reads>2</required-reads> | ||
<required-writes>2</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>json</type> | ||
<schema-info version="0">"string"</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>json</type> | ||
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>dummy_322_two</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>6</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">3</replication-factor> | ||
<replication-factor zone-id="1">3</replication-factor> | ||
</zone-replication-factor> | ||
<required-reads>2</required-reads> | ||
<required-writes>2</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>json</type> | ||
<schema-info version="0">"string"</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>json</type> | ||
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>dummy_211_one</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>4</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">2</replication-factor> | ||
<replication-factor zone-id="1">2</replication-factor> | ||
</zone-replication-factor> | ||
<preferred-reads>2</preferred-reads> | ||
<required-reads>1</required-reads> | ||
<preferred-writes>1</preferred-writes> | ||
<required-writes>1</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>string</type> | ||
<schema-info version="0">UTF-8</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>string</type> | ||
<schema-info version="0">UTF-8</schema-info> | ||
</value-serializer> | ||
<retention-days>14</retention-days> | ||
</store> | ||
</stores> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<stores> | ||
<store> | ||
<name>dummy_322_one</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>9</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">3</replication-factor> | ||
<replication-factor zone-id="1">3</replication-factor> | ||
<replication-factor zone-id="2">3</replication-factor> | ||
</zone-replication-factor> | ||
<required-reads>2</required-reads> | ||
<required-writes>2</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>json</type> | ||
<schema-info version="0">"string"</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>json</type> | ||
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>dummy_322_two</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>9</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">3</replication-factor> | ||
<replication-factor zone-id="1">3</replication-factor> | ||
<replication-factor zone-id="2">3</replication-factor> | ||
</zone-replication-factor> | ||
<required-reads>2</required-reads> | ||
<required-writes>2</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>json</type> | ||
<schema-info version="0">"string"</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>json</type> | ||
<schema-info version="0">[{'opt_out_list':'string'}]</schema-info> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>dummy_211_one</name> | ||
<persistence>bdb</persistence> | ||
<routing-strategy>zone-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>6</replication-factor> | ||
<zone-replication-factor> | ||
<replication-factor zone-id="0">2</replication-factor> | ||
<replication-factor zone-id="1">2</replication-factor> | ||
<replication-factor zone-id="2">2</replication-factor> | ||
</zone-replication-factor> | ||
<preferred-reads>2</preferred-reads> | ||
<required-reads>1</required-reads> | ||
<preferred-writes>1</preferred-writes> | ||
<required-writes>1</required-writes> | ||
<zone-count-reads>0</zone-count-reads> | ||
<zone-count-writes>0</zone-count-writes> | ||
<hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy> | ||
<key-serializer> | ||
<type>string</type> | ||
<schema-info version="0">UTF-8</schema-info> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>string</type> | ||
<schema-info version="0">UTF-8</schema-info> | ||
</value-serializer> | ||
<retention-days>14</retention-days> | ||
</store> | ||
</stores> |