Closed HemantNegi closed 5 months ago
This problem was originally noticed while we were using Kine with a k8s api server. We make a paginated list objects api call and it returned incorrect remainingItemCount
.
Please consider merging this or else fix this issue.
Can also test this with:
kubectl proxy &
curl -s 'http://localhost:8001/api/v1/namespaces/kube-system/pods?limit=1&resourceVersion=700&resourceVersionMatch=Exact'
On a default k3s cluster shortly after startup, there should be 6 items remaining.
Thankyou for taking quick action on this and fixing other case as well. Looking forward to get it merged.
When making a list query the returned total matched items count is wrong.
Steps to replicate: create some keys in the database with specific prefix say
/registry
then query with limit clause.the count shows wrong value.
After this Fix