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

cherry: fix(state): fix hex to uint64 response of list of namespaces (#8091) #8101

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Nov 30, 2021

There is an issue in ExtractNamespaceFromPredicate. The issue is the parsing was done assuming ns in - to be decimal (actually it is hexadecimal). This leads to the following issues.

A predicate a-name, it was skipped.
A predicate 11-name was parsed as namespace 11, actually it is namespace 17 (0x11).

(cherry picked from commit 0c9f601)


This change is Reviewable

There is an issue in ExtractNamespaceFromPredicate. The issue is the parsing was done assuming ns in <ns>-<attr> to be decimal (actually it is hexadecimal). This leads to the following issues.

A predicate a-name, it was skipped.
A predicate 11-name was parsed as namespace 11, actually it is namespace 17 (0x11).

(cherry picked from commit 0c9f601)
@NamanJain8 NamanJain8 changed the title fix(state): fix hex to uint64 response of list of namespaces (#8091) cherry: fix(state): fix hex to uint64 response of list of namespaces (#8091) Nov 30, 2021
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Nov 30, 2021
@NamanJain8 NamanJain8 merged commit 683885a into master Nov 30, 2021
@NamanJain8 NamanJain8 deleted the naman/cp/fix-state branch November 30, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

2 participants