SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

sqlstreams.consumer.session.lease_lost [SQL0051]

Edit this page
code SQL0051 · metric — counter of `{commit}`, one series per consumer session
the log line · Report this thread
SQL0051 Metric

As it appears in your metrics:

sqlstreams.consumer.session.lease_lost

Commits rejected because another worker had reclaimed the lease first. This instance’s work on those rows was redone elsewhere; nonzero means this process was too slow to record what it ran.

A session flow: this instance’s own running total, flushed to __system.metrics each flush tick and printed as lease_lost_count on the consumer stopped line. It never reconciles against the fleet-wide sqlstreams.consumer.* gauges.

Nothing pasted yet — the queries above show their blanks.

Looking for a different code? Search every thread.