Skip to content

Commit

Permalink
ui: add MinExpiration field to range debug page
Browse files Browse the repository at this point in the history
Informs #125235.

This commit adds the new MinExpiration field to the range debug page.

Release note: None
  • Loading branch information
nvanbenschoten committed Jul 1, 2024
1 parent 7781cfa commit 96cf596
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ const rangeTableDisplayList: RangeTableRow[] = [
display: "Lease Expiration",
compareToLeader: true,
},
{
variable: "leaseMinExpiration",
display: "Lease Minimum Expiration",
compareToLeader: true,
},
{
variable: "leaseAppliedIndex",
display: "Lease Applied Index",
Expand Down Expand Up @@ -750,6 +755,9 @@ export default class RangeTable extends React.Component<RangeTableProps, {}> {
leaseExpiration: epoch
? rangeTableEmptyContent
: this.contentTimestamp(lease.expiration, now),
leaseMinExpiration: epoch
? this.contentTimestamp(lease.min_expiration, now)
: rangeTableEmptyContent,
leaseAppliedIndex: this.createContent(
FixLong(info.state.state.lease_applied_index),
),
Expand Down

0 comments on commit 96cf596

Please sign in to comment.