-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Describe the bug
moveTablet not working as expected.
I have not enabled ACL or namespaces. So it should not be showing me namespace prefixes on Tablets.
To Reproduce
Steps to reproduce the behavior:
{"errors":[{"message":"namespace: 0. No tablet found for: 0-name","extensions":{"code":"ErrorInvalidRequest"}}]}
Or
mutation MoveTablet($input: MoveTabletInput!) {
moveTablet(input: $input) {
response {
message
code
}
}
}
{
"input": {
"tablet": "0-name",
"namespace": 0,
"groupId": 2
}
}
From state
{
"id": 3,
"tablets": [
{
"groupId": 3,
"predicate": "0-name",
"force": null,
"space": null,
"remove": null,
"readOnly": null,
"moveTs": null
}
],
"snapshotTs": null,
"checksum": 7119384243311962000
},
...
GraphQL Admin error
{
"errors": [
{
"message": "resolving moveTablet failed because rpc error: code = Unknown desc = namespace: 0. No tablet found for: 0-name",
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
Current Solution?
remove the prefix
{
"input": {
"tablet": "name",
"namespace": 0,
"groupId": 2
}
}
And I get
"namespace: 0. Predicate: [name] moved from group [3] to [2]"
Environment
- OS: macOS
- Language Go
- Version Latest Main - v25.0.0-preview1