Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocDB] Dump first 32 bytes of Slice instead of 16 bytes #17178

Closed
1 task done
Huqicheng opened this issue May 5, 2023 · 0 comments
Closed
1 task done

[DocDB] Dump first 32 bytes of Slice instead of 16 bytes #17178

Huqicheng opened this issue May 5, 2023 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@Huqicheng
Copy link
Contributor

Huqicheng commented May 5, 2023

Jira Link: DB-6451

Description

Setting max_len to 32 when calling Slice::ToDebugString in Slice::operator<< to dump more information, e.g. UUID

return o << s.ToDebugString(16); // should be enough for anyone...

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@Huqicheng Huqicheng added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels May 5, 2023
@Huqicheng Huqicheng self-assigned this May 5, 2023
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue and removed status/awaiting-triage Issue awaiting triage labels May 5, 2023
Huqicheng added a commit that referenced this issue May 8, 2023
Summary:
Setting max_len to 32 when calling Slice::ToDebugString in Slice::operator<< to dump more information, e.g. UUID
Jira Issue(s): DB-6451

Test Plan: manual test: `LOG(INFO) << uuid` and should see the full 32-byte UUID dumped to log.

Reviewers: bogdan, rthallam

Reviewed By: rthallam

Subscribers: bogdan, qhu

Differential Revision: https://phabricator.dev.yugabyte.com/D24818
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants