Every node now renews its lease once a minute instead of every 30 minutes, so the lease works as a heartbeat.
x:ClusterNode reports a node Stale once it has gone 3 minutes without renewing. Before, that took an hour. Inactive still means a day of silence.
Taking over a lease still needs a full hour of silence, so a node that is slow rather than gone never loses its id to another host, and snowflake ids stay unique.
Cost: one small store write per node per minute.
The admin dashboard's new Cluster Health card (inbuxa-admin, feature/cluster-health) counts these statuses.
Tests: cargo test -p store --lib build::cluster (3 new unit tests on the thresholds).
Every node now renews its lease once a minute instead of every 30 minutes, so the lease works as a heartbeat.
- `x:ClusterNode` reports a node **Stale** once it has gone 3 minutes without renewing. Before, that took an hour. **Inactive** still means a day of silence.
- Taking over a lease still needs a full hour of silence, so a node that is slow rather than gone never loses its id to another host, and snowflake ids stay unique.
- Cost: one small store write per node per minute.
The admin dashboard's new Cluster Health card (inbuxa-admin, feature/cluster-health) counts these statuses.
Tests: `cargo test -p store --lib build::cluster` (3 new unit tests on the thresholds).
Every node renews its lease once a minute instead of every 30 minutes,
so the lease works as a heartbeat. x:ClusterNode reports a node Stale
once it has gone three minutes without renewing (it used to take an
hour), and Inactive after a day, as before.
Taking over a lease still needs a full hour of silence. A node that is
slow rather than gone never loses its id to another host, so snowflake
ids stay unique.
The admin dashboard's Cluster Health card counts these statuses.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Every node now renews its lease once a minute instead of every 30 minutes, so the lease works as a heartbeat.
x:ClusterNodereports a node Stale once it has gone 3 minutes without renewing. Before, that took an hour. Inactive still means a day of silence.The admin dashboard's new Cluster Health card (inbuxa-admin, feature/cluster-health) counts these statuses.
Tests:
cargo test -p store --lib build::cluster(3 new unit tests on the thresholds).