You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried reproducing the issue with the latest release?
No
What is the hardware spec (RAM, CPU, OS)?
macos m1 2022
What steps will reproduce the bug?
describe
i find an odd thing and solve it, but not sure what happened, can anyone help ?
when doing for loop, value in tmpKeys are correct, but when exec "return keys, err", values-in-return-keys are not the same with values-in-tmpKeys-in-for-loop.
and values-in-return-keys are not exist in db.
for example
keyPrefix := "cluster#broker#name#@cluster-test-1@", and returns are as follows that not exist in db
What version of Badger are you using?
version: github.com/dgraph-io/badger/v4 v4.2.0
What version of Go are you using?
1.20
Have you tried reproducing the issue with the latest release?
No
What is the hardware spec (RAM, CPU, OS)?
macos m1 2022
What steps will reproduce the bug?
describe
i find an odd thing and solve it, but not sure what happened, can anyone help ?
when doing for loop, value in tmpKeys are correct, but when exec "return keys, err", values-in-return-keys are not the same with values-in-tmpKeys-in-for-loop.
and values-in-return-keys are not exist in db.
for example
keyPrefix := "cluster#broker#name#@cluster-test-1@", and returns are as follows that not exist in db
wrong source code
Expected behavior and actual result.
return right keys with prefix scaning
Additional information
when return keys []byte, i change it to string as following codes, then get it right.
The text was updated successfully, but these errors were encountered: