Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memgraph 2.18 documentation #804

Merged
merged 51 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7def62f
Docs improvements (#799)
as51340 May 29, 2024
1007db7
Merge branch 'main' into memgraph-2-18
kgolubic May 29, 2024
0b1eb66
Merge branch 'main' into memgraph-2-18
kgolubic Jun 5, 2024
5e9b725
Add NuRaft log file flag (#816)
as51340 Jun 6, 2024
21b5615
Add health checks docs (#833)
as51340 Jun 7, 2024
fad44b7
Merge branch 'main' into memgraph-2-18
kgolubic Jun 7, 2024
cd406ef
Merge branch 'main' into memgraph-2-18
kgolubic Jun 14, 2024
72533ba
Merge branch 'main' into memgraph-2-18
kgolubic Jun 17, 2024
1e23581
Update HA examples
kgolubic Jun 17, 2024
49aaf78
Merge branch 'main' into memgraph-2-18
kgolubic Jun 18, 2024
99896bd
Merge branch 'main' into memgraph-2-18
kgolubic Jun 19, 2024
8b07989
Add NuRaft log file env (#848)
as51340 Jun 21, 2024
acc2075
Add leader/follower role (#857)
as51340 Jun 21, 2024
bc8bf04
Merge branch 'main' into memgraph-2-18
kgolubic Jun 24, 2024
d8ae114
Merge branch 'main' into memgraph-2-18
kgolubic Jun 25, 2024
b5d172c
Add coordinator hostname HA configuration option (#860)
as51340 Jun 25, 2024
d1eb39e
Add monitoring at runtime docs (#806)
Josipmrden Jun 25, 2024
df88f5a
database-less connections update (#853)
andrejtonev Jun 25, 2024
0002026
Update HA docs
kgolubic Jun 26, 2024
25cd9a2
Merge branch 'main' into memgraph-2-18
kgolubic Jun 26, 2024
3e92455
Add durability for coordinator (#859)
antoniofilipovic Jun 26, 2024
5960edc
Merge branch 'main' into memgraph-2-18
kgolubic Jun 26, 2024
69b4a8e
Edge type property index (#855)
Jun 27, 2024
0da35ab
Merge branch 'main' into memgraph-2-18
kgolubic Jun 28, 2024
0433d0c
Add hops limit docs (#881)
DavIvek Jul 1, 2024
075a967
Peak memory observation in the system (#788)
Josipmrden Jul 1, 2024
d120d58
removed flags (#854)
andrejtonev Jul 1, 2024
417d969
Update envs for HA (#878)
antoniofilipovic Jul 1, 2024
800c453
Add callout for important force reset notice (#877)
antoniofilipovic Jul 1, 2024
1278cac
Enum datatype (v1) (#852)
Ignition Jul 1, 2024
3f31c33
Merge branch 'main' into memgraph-2-18
kgolubic Jul 1, 2024
432f5c4
SSO Core - OIDC + OAuth2.0 docs (#876)
imilinovic Jul 2, 2024
c9d2cf3
Update v2.18 experimental feature statuses (#871)
gitbuda Jul 2, 2024
3c73716
Add postgresql migration docs (#867)
Josipmrden Jul 3, 2024
878b08d
Single-sign on: general and SAML documentation (#884)
antepusic Jul 3, 2024
d97a94d
Update direct download paths (#885)
kgolubic Jul 3, 2024
f0edde3
Migration tutorial from `RDBMS` using `MAGE` modules (#770)
Josipmrden Jul 3, 2024
1f5de34
new: Add query sharing docs and update ENV variables for Lab (#865)
tonilastre Jul 3, 2024
ad71e32
Added description how each user can change its own password (#819)
tonijurjevic96 Jul 3, 2024
8f0682a
Add SSO docs (#797)
cizl Jul 3, 2024
16e5a23
Merge branch 'main' into memgraph-2-18
kgolubic Jul 3, 2024
88ffc71
Create release notes for Memgraph 2.18 (#795)
kgolubic Jul 3, 2024
80b1484
Remove support for Amazon Linux 2, CentOS 7 and RedHat 8
kgolubic Jul 3, 2024
1acf4ce
Linked MAGE docs
kgolubic Jul 3, 2024
d202f1f
Update release notes
kgolubic Jul 3, 2024
07e2670
Add callout for Breaking changes
kgolubic Jul 3, 2024
c4b1fec
Add PR link
kgolubic Jul 3, 2024
d22bc4f
Update Release notes
kgolubic Jul 3, 2024
e4aa6b2
Update pages/database-management/authentication-and-authorization/aut…
kgolubic Jul 3, 2024
a5a213d
Fix indentation
kgolubic Jul 3, 2024
41f182d
Merge branch 'memgraph-2-18' of https://github.com/memgraph/documenta…
kgolubic Jul 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pages/clustering/high-availability.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ the flag to more than `--instance-down-timeout-sec`, as it is needed first to co
### Determining instance's health

Every `--instance-health-check-frequency-sec` seconds, the coordinator contacts each instance.
The instance is not considered to be down unless `--instance-down-timeout-sec` has passed and the instance hasn't responded to the coordinator in the meantime. Expectation currently is to set `--instance-health-check-frequency-sec`
to be less than `--instance-down-timeout-sec` and for `--instance-down-timeout-sec` to be multiplier of `--instance-health-check-frequency-sec` with coefficient N.
The instance is not considered to be down unless `--instance-down-timeout-sec` has passed and the instance hasn't responded to the coordinator in the meantime. Users must set `--instance-health-check-frequency-sec`
to be less or equal to the `--instance-down-timeout-sec` but we advise users to set `--instance-down-timeout-sec` to a multiplier of `--instance-health-check-frequency-sec`.
Set the multiplier coefficient to be N>=2. For example, set `--instance-down-timeout-sec=5` and `--instance-health-check-frequency-sec=1` which will result in coordinator
contacting each instance every 1 second and the instance is considered dead after it doesn't respond 5 times (5 seconds / 1 second).

Expand Down Expand Up @@ -547,12 +547,12 @@ docker run --name coord1 -p 7690:7690 -p 7444:7444 memgraph/memgraph-mage --bol

2. Start coordinator2:
```plaintext
docker run --name coord2 -p 7691:7691 -p 7445:7444 memgraph/memgraph-mage --bolt-port=7691 --log-level=TRACE --data-directory=/tmp/mg_data_coord2 --log-file=/tmp/coord2.log --also-log-to-stderr --coordinator-id=2 --coordinator-port=10112 --experimental-enabled=high-availability
docker run --name coord2 -p 7691:7691 -p 7445:7444 memgraph/memgraph-mage --bolt-port=7691 --log-level=TRACE --data-directory=/tmp/mg_data_coord2 --log-file=/tmp/coord2.log --nuraft-log-file=/tmp/nuraft/coord2.log --also-log-to-stderr --coordinator-id=2 --coordinator-port=10112 --experimental-enabled=high-availability
```

3. Start coordinator3:
```plaintext
docker run --name coord3 -p 7692:7692 -p 7446:7444 memgraph/memgraph-mage --bolt-port=7692 --log-level=TRACE --data-directory=/tmp/mg_data_coord3 --log-file=/tmp/coord3.log --also-log-to-stderr --coordinator-id=3 --coordinator-port=10113 --experimental-enabled=high-availability
docker run --name coord3 -p 7692:7692 -p 7446:7444 memgraph/memgraph-mage --bolt-port=7692 --log-level=TRACE --data-directory=/tmp/mg_data_coord3 --log-file=/tmp/coord3.log --nuraft-log-file=/tmp/nuraft/coord1.log --also-log-to-stderr --coordinator-id=3 --coordinator-port=10113 --experimental-enabled=high-availability
```

4. Start instance1:
Expand Down
19 changes: 11 additions & 8 deletions pages/database-management/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,17 @@ This section contains the list of flags that are used to configure [experimental

This section contains the list of flags that are used to configure highly available cluster in Memgraph.

| Flag | Description | Type |
|------------------------------------------|-------------------------------------------------------------------------------------------------------------|------------|
| --raft-server-id | Raft server id on coordinator instance. | `[uint32]` |
| --raft-server-port | Raft server's port on coordinator instance. | `[uint32]` |
| --coordinator-server-port | Port on which replication instances receive messages from the coordinator. | `[uint32]` |
| --instance-health-check-frequency-sec=1 | The interval between two health checks that the coordinator does on replication instances. | `[uint32]` |
| --instance-down-timeout-sec=5 | Number of seconds that need to pass before replication instance is considered down. | `[uint32]` |
| --instance-get-uuid-frequency-sec=10 | The interval between two instance uuid checks. | `[uint32]` |

| Flag | Description | Type |
|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|
| --raft-server-id | Raft server id on coordinator instance. | `[uint32]` |
| --raft-server-port | Raft server's port on coordinator instance. | `[uint32]` |
| --coordinator-server-port | Port on which replication instances receive messages from coordinator . | `[uint32]` |
| --instance-health-check-frequency-sec=1 | The interval between two health checks that coordinator does on replication instances. | `[uint32]` |
| --instance-down-timeout-sec=5 | Number of seconds that need to pass before replication instance is considered down. Must be greater or equal to the `--instance-health-check-frequency-sec`. | `[uint32]` |
| --instance-get-uuid-frequency-sec=10 | The interval between two instance uuid checks. | `[uint32]` |
| --nuraft-log-file | Path to the file where NuRaft logs are saved. | `[string]` |


### Query

Expand Down