Skip to content

Update on HA timeouts #1281

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions pages/clustering/high-availability.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ for which the timeout is used is the following:
- EnableWritingOnMainReq -> coordinator sending to data instances
- GetInstanceUUIDReq -> coordinator sending to data instances
- GetDatabaseHistoriesReq -> coordinator sending to data instances
- StateCheckReq -> coordinator sending to data instances
- StateCheckReq -> coordinator sending to data instances. The timeout is set to 5s.
- SwapMainUUIDReq -> coordinator sending to data instances
- FrequentHeartbeatReq -> coordinator sending to data instances
- FrequentHeartbeatReq -> main sending to replica. The timeout is set to 5s.
- HeartbeatReq -> main sending to replica
- TimestampReq -> main sending to replica
- SystemHeartbeatReq -> main sending to replica
Expand Down Expand Up @@ -438,6 +438,12 @@ With this unit-based tracking system, the replica is expected to report progress
every 2–3 seconds. Given this, a timeout of 60 seconds is set to avoid
unnecessary network instability while ensuring responsiveness.

Except timeouts on read and write operations, Memgraph also has a timeout of 5s
for sockets when establishing connection. Such a timeout helps in having low p99
latencies when using RPC stack which manifests for users as smooth and predictable
network communication between instances.


## Failover

### Determining instance's health
Expand Down
10 changes: 9 additions & 1 deletion pages/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ updated.

## 🚀 Latest release

### Memgraph v3.3.0 - June 4th, 2025

### MAGE v3.3.0 - June 4th, 2025

### Lab v3.3.0 - June 4th, 2025


## Previous releases

### Memgraph v3.2.0 - Apr 23rd, 2025

{<h4 className="custom-header">⚠️ Breaking changes</h4>}
Expand Down Expand Up @@ -249,7 +258,6 @@ updated.

### Lab v3.2.0 - Apr 23rd, 2025

## Previous releases

### Memgraph v3.1.1 - Mar 28th, 2025

Expand Down