Skip to content

Commit

Permalink
Fixed systemstore constants and got rid of the superfluous zone rep
Browse files Browse the repository at this point in the history
factor
  • Loading branch information
abh1nay authored and jayjwylie committed Jun 20, 2013
1 parent a758c2a commit 0c8f0fa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/java/voldemort/store/system/SystemStoreConstants.java
Expand Up @@ -37,20 +37,15 @@ public static enum SystemStoreName {
voldsys$_metadata_version_persistence;
}

// TODO: Verify that this hard coded system store works in three zones
// and/or extend it to have zone 2.
// The route to all strategy does not bother about zones or rep factor
public static final String SYSTEM_STORE_SCHEMA = "<stores>"
+ " <store>"
+ " <name>voldsys$_client_registry</name>"
+ " <routing-strategy>all-routing</routing-strategy>"
+ " <hinted-handoff-strategy>proximity-handoff</hinted-handoff-strategy>"
+ " <persistence>memory</persistence>"
+ " <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>"
+ " <replication-factor>1</replication-factor>"
+ " <required-reads>1</required-reads>"
+ " <required-writes>1</required-writes>"
+ " <key-serializer>"
Expand Down

0 comments on commit 0c8f0fa

Please sign in to comment.