-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[YCQL][ASH] Incorrect top_level_node_id in ASH metadata #21945
Labels
Comments
abhinab-yb
added
area/ycql
Yugabyte CQL (YCQL)
status/awaiting-triage
Issue awaiting triage
labels
Apr 12, 2024
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
labels
Apr 12, 2024
abhinab-yb
changed the title
[YCQL][ASH] Incorect top_level_node_id
[YCQL][ASH] Incorect top_level_node_id in ASH metadata
Apr 12, 2024
abhinab-yb
changed the title
[YCQL][ASH] Incorect top_level_node_id in ASH metadata
[YCQL][ASH] Incorrect top_level_node_id in ASH metadata
Apr 23, 2024
amitanandaiyer
added a commit
that referenced
this issue
Apr 25, 2024
Summary: Currently we use Uuid::FromHexString to convert the node/instance_id to uuid. However, this function expects the string to be encoded using LittleEndian. ToBytes/FromBytes uses BigEndian order, thus we were seeing uuids reversed in ash. To fix this, we avoid using FromHexString and implement/use FromHexStringBigEndian. This is similar to Uuid::FromString, except for also accepting string without dashes. Jira: DB-10862 Test Plan: yb_build.sh --cxx-test wait_states-itest Reviewers: asaha, hsunder Reviewed By: asaha Subscribers: ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D34332
amitanandaiyer
added a commit
that referenced
this issue
Apr 25, 2024
… metadata Summary: Original commit: 0f7be92 / D34332 Currently we use Uuid::FromHexString to convert the node/instance_id to uuid. However, this function expects the string to be encoded using LittleEndian. ToBytes/FromBytes uses BigEndian order, thus we were seeing uuids reversed in ash. To fix this, we avoid using FromHexString and implement/use FromHexStringBigEndian. This is similar to Uuid::FromString, except for also accepting string without dashes. Jira: DB-10862 Test Plan: yb_build.sh --cxx-test wait_states-itest Reviewers: asaha, hsunder Reviewed By: asaha Subscribers: yql, ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D34519
svarnau
pushed a commit
that referenced
this issue
May 25, 2024
Summary: Currently we use Uuid::FromHexString to convert the node/instance_id to uuid. However, this function expects the string to be encoded using LittleEndian. ToBytes/FromBytes uses BigEndian order, thus we were seeing uuids reversed in ash. To fix this, we avoid using FromHexString and implement/use FromHexStringBigEndian. This is similar to Uuid::FromString, except for also accepting string without dashes. Jira: DB-10862 Test Plan: yb_build.sh --cxx-test wait_states-itest Reviewers: asaha, hsunder Reviewed By: asaha Subscribers: ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D34332
ZhenYongFan
pushed a commit
to ZhenYongFan/yugabyte-db
that referenced
this issue
Jun 15, 2024
…d in ASH metadata Summary: Original commit: 0f7be92 / D34332 Currently we use Uuid::FromHexString to convert the node/instance_id to uuid. However, this function expects the string to be encoded using LittleEndian. ToBytes/FromBytes uses BigEndian order, thus we were seeing uuids reversed in ash. To fix this, we avoid using FromHexString and implement/use FromHexStringBigEndian. This is similar to Uuid::FromString, except for also accepting string without dashes. Jira: DB-10862 Test Plan: yb_build.sh --cxx-test wait_states-itest Reviewers: asaha, hsunder Reviewed By: asaha Subscribers: yql, ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D34519
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Jira Link: DB-10862
Description
In a rf-3 cluster with tserver uuids as
05b1b49c8d6349a8b5d2158d247b2726
,a8b775a326ba454dac7540ff42436022
anddb546cfcdc474bc58a1023b1442a3078
. Theyql_endpoint_tserver_uuid
for YCQL samples are not present in the cluster.Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: