-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
81108: *: improve inline code comments r=maryliag a=Azhng Release note: None 81123: sql : sequence value out of bounds r=rafiss a=mosquito2333 Previously, an additional out-of-range sequence value may have been generated. The original criterion was whether the previous endSequence value exceeded the limit. However, when the current endSequence is 1, the increment is 2 and the MaxValue is 2, the previous endSequence value is 1 and the program does not report an error. However, when the current endSequenceValue 3 exceeds the limit, an error should be reported In incrementSequenceUsingCache, the criterion for determining whether a cache's data is eligible is modified to whether the first data that may be stored in the cache exceeds the limit. Fixes #74127. Release note (bug fix): Fixed a bug where sequences could return values that are out-of-bounds in some cases. 81213: ui, changefeeds: better status col in db console r=abarganier,HonoreDB a=dhartunian Previously, when a job contained a `highwater_timestamp` column value (present for changefeeds) the status column in DB console would *always* show that value instead of the job status ("running", "paused", etc.). This would cause confusion for operators because the SQL output for job status always included both a `status` column and a separate `highwater_timestamp` column. This change moves the `highwater_timestamp` into a separate column and always renders the `status` column with the "pill" component that shows the current job status. The highwater timestamp is also moved to the sidebar in the job details page instead of replacing the status pill, for similar consistency. Finally, the highwater timestamp now displays the nanosecond decimal value by default and the human-readable formatted value in the tooltip. This faciliates easier copy/paste behavior from the UI as the decimal is more useful. ![Screenshot 2022-05-12 at 16-09-19 Jobs Cockroach Console](https://user-images.githubusercontent.com/986307/168162734-48a61ec4-c5a5-41e2-9533-845afe08a0b4.png) ![Screenshot 2022-05-12 at 16-09-47 Details Job Cockroach Console](https://user-images.githubusercontent.com/986307/168162742-ee3e3f4c-136e-424f-af54-cf03fde42406.png) Resolves #80496 Release note (ui change): The job status page in the DB Console will now show the status column for changefeed jobs and display the `highwater_timestamp` value in a separate column. Thise more closely matches the SQL output of `SHOW changefeed JOBS`. The highwater timestamp now displays as the nanosecond system time value by default with the human-readable value in the tooltip since the decimal value is copy/pasted more often. Co-authored-by: Azhng <[email protected]> Co-authored-by: mosquito2333 <[email protected]> Co-authored-by: David Hartunian <[email protected]>
- Loading branch information
Showing
8 changed files
with
132 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters