Commit 53df0e1a authored by Julien Muchembled's avatar Julien Muchembled

typos

parent 55a60277
...@@ -108,7 +108,6 @@ a. Edit your zope.conf, add a neo import and edit the `zodb_db` section by ...@@ -108,7 +108,6 @@ a. Edit your zope.conf, add a neo import and edit the `zodb_db` section by
%import neo.client %import neo.client
<zodb_db main> <zodb_db main>
# Main FileStorage database
<NEOStorage> <NEOStorage>
master_nodes 127.0.0.1:10000 master_nodes 127.0.0.1:10000
name <cluster name> name <cluster name>
......
...@@ -94,8 +94,8 @@ RC - Review output of pylint (CODE) ...@@ -94,8 +94,8 @@ RC - Review output of pylint (CODE)
- Make listening address and port optionnal, and if they are not provided - Make listening address and port optionnal, and if they are not provided
listen on all interfaces on any available port. listen on all interfaces on any available port.
- Make replication speed configurable (HIGH AVAILABILITY) - Make replication speed configurable (HIGH AVAILABILITY)
In its current implementation, replication runs at lowest priority, not to In its current implementation, replication runs at lowest priority, to
degrades performance for client nodes. But when there's only 1 storage not degrade performance for client nodes. But when there's only 1 storage
left for a partition, it may be wanted to guarantee a minimum speed to left for a partition, it may be wanted to guarantee a minimum speed to
avoid complete data loss if another failure happens too early. avoid complete data loss if another failure happens too early.
- Pack segmentation & throttling (HIGH AVAILABILITY) - Pack segmentation & throttling (HIGH AVAILABILITY)
......
...@@ -77,7 +77,7 @@ class StorageOperationHandler(EventHandler): ...@@ -77,7 +77,7 @@ class StorageOperationHandler(EventHandler):
deleteTransaction(tid) deleteTransaction(tid)
assert not pack_tid, "TODO" assert not pack_tid, "TODO"
if next_tid: if next_tid:
# More than one chunk ? This could a full replication so avoid # More than one chunk ? This could be a full replication so avoid
# restarting from the beginning by committing now. # restarting from the beginning by committing now.
self.app.dm.commit() self.app.dm.commit()
self.app.replicator.fetchTransactions(next_tid) self.app.replicator.fetchTransactions(next_tid)
......
...@@ -47,7 +47,7 @@ Replication is partial, starting from the greatest stored tid in the partition: ...@@ -47,7 +47,7 @@ Replication is partial, starting from the greatest stored tid in the partition:
There is no check that item values on both nodes matches. There is no check that item values on both nodes matches.
TODO: Packing and replication currently fail when then happen at the same time. TODO: Packing and replication currently fail when they happen at the same time.
""" """
import random import random
...@@ -228,7 +228,7 @@ class Replicator(object): ...@@ -228,7 +228,7 @@ class Replicator(object):
app = self.app app = self.app
# Choose a partition with no unfinished transaction if possible. # Choose a partition with no unfinished transaction if possible.
# XXX: When leaving backup mode, we should only consider UP_TO_DATE # XXX: When leaving backup mode, we should only consider UP_TO_DATE
# cells when leaving backup mode. # cells.
for offset in self.replicate_dict: for offset in self.replicate_dict:
if not self.partition_dict[offset].max_ttid: if not self.partition_dict[offset].max_ttid:
break break
......
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