@lancedb/lancedb • Docs
@lancedb/lancedb / TableShardStats
Interface: TableShardStats¶
Live state of one table shard. A table is N table shards on one node; flattening to a single number hides the one hot table shard that is usually why someone opened this endpoint.
Properties¶
compacting¶
Whether a pass owns this table shard's compaction latch right now. Says a driver is running, not whose, and the latch is held from dispatch — including while the pass queues for a pod-wide compactor permit. Read it as "do not pile on", never as "mine is progressing".
currentGeneration¶
The generation the active memtable will become.
manifestVersion¶
Version of the shard manifest these numbers were read from.
memtables?¶
Oldest first, active last. Absent for a "Sealed" table shard, whose
in-memory state is torn down.
replayAfterWalEntryPosition¶
WAL position replay resumes from.
shardId¶
The id of this table shard.
sstables¶
SSTables not yet merged into the base table.
status¶
"Active" or "Sealed" (drop-table 2PC in flight).
walEntryPositionLastSeen¶
Highest WAL position the writer has seen. The difference against
replayAfterWalEntryPosition is the WAL lag.
writerEpoch¶
Epoch of the writer that currently owns the shard.