Commit c95c6c39 authored by Julien Muchembled's avatar Julien Muchembled

Minor comment/doc changes

parent 37f58489
...@@ -42,7 +42,6 @@ Change History ...@@ -42,7 +42,6 @@ Change History
- Plus a few other changes for debugging and developers, as well as small - Plus a few other changes for debugging and developers, as well as small
optimizations. optimizations.
1.6.3 (2016-06-15) 1.6.3 (2016-06-15)
------------------ ------------------
......
...@@ -56,9 +56,9 @@ for that partition. It means only this node will fetch data from the upstream ...@@ -56,9 +56,9 @@ for that partition. It means only this node will fetch data from the upstream
cluster, to minimize bandwidth between clusters. Other replicas will cluster, to minimize bandwidth between clusters. Other replicas will
synchronize from the primary node. synchronize from the primary node.
There is no UUID conflict between the 2 clusters: There is no conflict of node id between the 2 clusters:
- Storage nodes connect anonymously to upstream. - Storage nodes connect anonymously to upstream.
- Master node receives a new from upstream master and uses it only when - The master node gets an id from the upstream master and uses it only when
communicating with it. communicating with it.
""" """
...@@ -311,8 +311,9 @@ class BackupApplication(object): ...@@ -311,8 +311,9 @@ class BackupApplication(object):
logging.debug("partition %u: updating backup_tid of %r to %s", logging.debug("partition %u: updating backup_tid of %r to %s",
offset, cell, dump(tid)) offset, cell, dump(tid))
cell.backup_tid = tid cell.backup_tid = tid
# TODO provide invalidation feedback about new txns to read-only clients connected to backup cluster # TODO: Provide invalidation feedback about new txns to read-only
# NOTE ^^^ not only here but also hooked to in-progress feedback from fetchObjects (storage) # clients connected to backup cluster. Not only here but also
# hooked to in-progress feedback from fetchObjects (storage).
# Forget tids we won't need anymore. # Forget tids we won't need anymore.
cell_list = app.pt.getCellList(offset, readable=True) cell_list = app.pt.getCellList(offset, readable=True)
del tid_list[:bisect(tid_list, min(x.backup_tid for x in cell_list))] del tid_list[:bisect(tid_list, min(x.backup_tid for x in cell_list))]
......
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