Commit 55a60277 authored by Julien Muchembled's avatar Julien Muchembled

Add warning about possible misuse of replicas

parent d82383ef
...@@ -71,6 +71,8 @@ RC - Review output of pylint (CODE) ...@@ -71,6 +71,8 @@ RC - Review output of pylint (CODE)
Some methods might not implement proper transaction isolation when they Some methods might not implement proper transaction isolation when they
should. An example is object history (undoLog), which can see data should. An example is object history (undoLog), which can see data
committed by future transactions. committed by future transactions.
- Add a 'devid' storage configuration so that master do not distribute
replicated partitions on storages with same 'devid'.
Storage Storage
- Use HailDB instead of a stand-alone MySQL server. - Use HailDB instead of a stand-alone MySQL server.
......
...@@ -22,7 +22,10 @@ masters: 127.0.0.1:10000 ...@@ -22,7 +22,10 @@ masters: 127.0.0.1:10000
# Replicas: How many copies of a partition should exist at a time. # Replicas: How many copies of a partition should exist at a time.
# 0 means no redundancy # 0 means no redundancy
# 1 means there is a spare copy of all partitions # 1 means there is a spare copy of all partitions
replicas: 1 replicas: 0
# IMPORTANT: NEO does not try to spread replicas on different physical devices
# so replicas should not be used if you have at least 2 nodes
# storing data on the same device.
# Partitions: How data spreads among storage nodes. # Partitions: How data spreads among storage nodes.
# IMPORTANT: This can not be changed once the cluster contains data. # IMPORTANT: This can not be changed once the cluster contains data.
partitions: 12 partitions: 12
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment