Skip to content

fix: add is_clamped to docdb request debug log#32407

Open
mmustafasenoglu wants to merge 1 commit into
yugabyte:masterfrom
mmustafasenoglu:fix-read-time-logging
Open

fix: add is_clamped to docdb request debug log#32407
mmustafasenoglu wants to merge 1 commit into
yugabyte:masterfrom
mmustafasenoglu:fix-read-time-logging

Conversation

@mmustafasenoglu

Copy link
Copy Markdown

Summary

Include the is_clamped flag from TxnReadPoint in the debug log output when yb_debug_log_docdb_requests is enabled.

Problem

The docdb request debug log shows txn_serial_no and read_time_serial_no but does not indicate whether the uncertainty window is clamped. This information is useful for debugging read time issues.

Fix

Added is_clamped field to the log output to provide additional context about the uncertainty window state.

Fixes #29940

Include the is_clamped flag from TxnReadPoint in the debug log output
when yb_debug_log_docdb_requests is enabled. This provides additional
context about the uncertainty window state for debugging read time
issues.

Fixes: yugabyte#29940
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

LGTM

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[YSQL] Investigate why read time is not printed in docdb requests and make the request print appropriate information

2 participants