Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
c95c6c39
Commit
c95c6c39
authored
Dec 20, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor comment/doc changes
parent
37f58489
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
CHANGELOG.rst
CHANGELOG.rst
+0
-1
neo/master/backup_app.py
neo/master/backup_app.py
+5
-4
No files found.
CHANGELOG.rst
View file @
c95c6c39
...
...
@@ -42,7 +42,6 @@ Change History
- Plus a few other changes for debugging and developers, as well as small
optimizations.
1.6.3 (2016-06-15)
------------------
...
...
neo/master/backup_app.py
View file @
c95c6c39
...
...
@@ -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
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.
-
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.
"""
...
...
@@ -311,8 +311,9 @@ class BackupApplication(object):
logging
.
debug
(
"partition %u: updating backup_tid of %r to %s"
,
offset
,
cell
,
dump
(
tid
))
cell
.
backup_tid
=
tid
# TODO provide invalidation feedback about new txns to read-only clients connected to backup cluster
# NOTE ^^^ not only here but also hooked to in-progress feedback from fetchObjects (storage)
# TODO: Provide invalidation feedback about new txns to read-only
# 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.
cell_list
=
app
.
pt
.
getCellList
(
offset
,
readable
=
True
)
del
tid_list
[:
bisect
(
tid_list
,
min
(
x
.
backup_tid
for
x
in
cell_list
))]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment