Skip to content
Merged
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
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/user-guide/operator/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ metadata:
spec:
replicas: 5
image: hyperbytedb:latest
version: "0.9.3-beta"
version: "0.9.4-beta"
server:
port: 8086
requestTimeoutSecs: 60
Expand Down Expand Up @@ -132,7 +132,7 @@ metadata:
spec:
replicas: 3
image: hyperbytedb:latest
version: "0.9.3-beta"
version: "0.9.4-beta"
server:
port: 8086
tls:
Expand Down
34 changes: 34 additions & 0 deletions docs/user-guide/release-notes-0.9.4-beta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# HyperbyteDB 0.9.4-beta

One fix, for nodes with little write traffic: they could need many times
their usual memory to restart, and fail to start at all. Upgrade any node
that takes few writes; operator v0.3.3 runs 0.9.4-beta.

## Fixed

- **A quiet node could not restart after a few days of uptime.** Each flush
removed the flushed entries from the WAL with a range delete. On a busy
node those are cleared within minutes; on a quiet one they piled up in
memory for as long as the node ran, and the next start had to replay all
of them, at a cost that grows with the square of their number. On n3 the
shared tenant pool, after 5 days at about one point a second, needed
11 GiB and 88 s to start, and was OOM-killed at its 4 GiB limit for
19 hours. Truncation now removes only the new entries, with point deletes
for a few, and the rest are flushed to disk before they pile up.
Reopening a WAL after 30,000 flushes now takes 0.3 s and 1 MiB (it took
10 s and 1.8 GB after 5,000).

## Upgrading

- Upgrade nodes one at a time, as usual.
- A node's first start on 0.9.4 still replays the range deletes it already
holds, as before. The cost grows with the square of how long a quiet
node has been up since its last start: n3's shared pool, flushing about
once a minute, needed 11 GiB after 5 days. If a quiet node has been up
for days, give it more memory for the upgrade, or restart it on its
current version first: a start writes the replayed deletes to disk, so
the next start, on 0.9.4, has nothing to replay.

## Known limits

Those of [0.9.3-beta](release-notes-0.9.3-beta.md#known-limits).
2 changes: 1 addition & 1 deletion hyperbytedb-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperbytedb-cli"
version = "0.9.3-beta"
version = "0.9.4-beta"
edition = "2024"
description = "Interactive CLI client for HyperbyteDB — InfluxDB v1-compatible REPL, query, write, and admin"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion hyperbytedb-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperbytedb-proxy"
version = "0.9.3-beta"
version = "0.9.4-beta"
edition = "2024"
description = "Health-aware HTTP reverse proxy for hyperbytedb. Provides connection draining, request hold-and-retry across rolling restarts, and per-backend health gating"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion hyperbytedb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperbytedb"
version = "0.9.3-beta"
version = "0.9.4-beta"
edition = "2024"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ nav:
- Troubleshooting: user-guide/troubleshooting.md
- API & TimeseriesQL Reference: user-guide/reference.md
- Release notes:
- 0.9.4-beta: user-guide/release-notes-0.9.4-beta.md
- 0.9.3-beta: user-guide/release-notes-0.9.3-beta.md
- 0.9.2-beta: user-guide/release-notes-0.9.2-beta.md
- 0.9.1-beta: user-guide/release-notes-0.9.1-beta.md
Expand Down
Loading