Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vincent Pelletier
neoppod
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
Show 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
...
@@ -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)
------------------
------------------
...
...
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
...
@@ -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
))]
...
...
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