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
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
Stefane Fermigier
neo
Commits
9d4d5b40
Commit
9d4d5b40
authored
Apr 25, 2017
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: add advice about the number of master nodes to set up
parent
8e7d4aa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
TODO
TODO
+4
-4
neo.conf
neo.conf
+4
-3
No files found.
TODO
View file @
9d4d5b40
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
The same code to ask/receive node list and partition table exists in too
The same code to ask/receive node list and partition table exists in too
many places.
many places.
- Clarify handler methods to call when a connection is accepted from a
- Clarify handler methods to call when a connection is accepted from a
listening con
en
ction and when remote node is identified
listening con
ne
ction and when remote node is identified
(cf. neo/lib/bootstrap.py).
(cf. neo/lib/bootstrap.py).
- Review PENDING/SHUTDOWN states, don't use notifyNodeInformation()
- Review PENDING/SHUTDOWN states, don't use notifyNodeInformation()
to do a state-switch, use a exception-based mechanism ? (CODE)
to do a state-switch, use a exception-based mechanism ? (CODE)
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
which is an issue on big databases. (SPEED)
which is an issue on big databases. (SPEED)
- Pack segmentation & throttling (HIGH AVAILABILITY)
- Pack segmentation & throttling (HIGH AVAILABILITY)
In its current implementation, pack runs in one call on all storage nodes
In its current implementation, pack runs in one call on all storage nodes
at the same time, which l
co
ks down the whole cluster. This task should
at the same time, which l
oc
ks down the whole cluster. This task should
be split in chunks and processed in "background" on storage nodes.
be split in chunks and processed in "background" on storage nodes.
Packing throttling should probably be at the lowest possible priority
Packing throttling should probably be at the lowest possible priority
(below interactive use and below replication).
(below interactive use and below replication).
...
@@ -116,9 +116,9 @@
...
@@ -116,9 +116,9 @@
Later
Later
- Consider auto-generating cluster name upon initial startup (it might
- Consider auto-generating cluster name upon initial startup (it might
actualy be a partition property).
actual
l
y be a partition property).
- Consider ways to centralise the configuration file, or make the
- Consider ways to centralise the configuration file, or make the
configuration updatable automaticaly on all nodes.
configuration updatable automatical
l
y on all nodes.
- Consider storing some metadata on master nodes (partition table [version],
- Consider storing some metadata on master nodes (partition table [version],
...). This data should be treated non-authoritatively, as a way to lower
...). This data should be treated non-authoritatively, as a way to lower
the probability to use an outdated partition table.
the probability to use an outdated partition table.
...
...
neo.conf
View file @
9d4d5b40
# Note: Unless otherwise noted, all parameters in this configuration file
# Note: Unless otherwise noted, all parameters in this configuration file
# must be identical for all nodes in a given cluster.
# must be identical for all nodes in a given cluster.
# This file is option
n
al: parameters can be given at the command line.
# This file is optional: parameters can be given at the command line.
# See SafeConfigParser at https://docs.python.org/2/library/configparser.html
# See SafeConfigParser at https://docs.python.org/2/library/configparser.html
# for more information about the syntax.
# for more information about the syntax.
...
@@ -17,9 +17,10 @@
...
@@ -17,9 +17,10 @@
cluster
:
test
cluster
:
test
# The list of master nodes
# The list of master nodes
# Master nodes not not in this list will be rejected by the cluster.
# This list should be identical for all nodes in a given cluster for
# This list should be identical for all nodes in a given cluster for
# maximum availability.
# maximum availability.
# With replicas, it is recommended to have 1 master node per machine
# (physical or not). Otherwise, 1 is enough (but more do not harm).
masters
:
127
.
0
.
0
.
1
:
10000
masters
:
127
.
0
.
0
.
1
:
10000
# Partition table configuration
# Partition table configuration
...
@@ -58,7 +59,7 @@ partitions: 12
...
@@ -58,7 +59,7 @@ partitions: 12
# - MySQL: [user[:password]@]database[unix_socket]
# - MySQL: [user[:password]@]database[unix_socket]
# Database must be created manually.
# Database must be created manually.
# - SQLite: path
# - SQLite: path
# engine: Option
n
al parameter for MySQL.
# engine: Optional parameter for MySQL.
# Can be InnoDB (default), RocksDB or TokuDB.
# Can be InnoDB (default), RocksDB or TokuDB.
# Admin node
# Admin node
...
...
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