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

incorrect and unstable output when using limit request parameter #6298

Open
eduardbareev opened this issue May 17, 2024 · 0 comments
Open

incorrect and unstable output when using limit request parameter #6298

eduardbareev opened this issue May 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working victorialogs

Comments

@eduardbareev
Copy link

eduardbareev commented May 17, 2024

Describe the bug

this is about limit request parameter, not the pipe one

curl --no-progress-meter 'http://rck9thr.test:9428/select/logsql/query' \
    --data-urlencode query='_time:[0, now] | sort by (_time desc)  ' \
    --data-urlencode limit=1000 \
    | wc -l
45

curl --no-progress-meter 'http://rck9thr.test:9428/select/logsql/query' \
    --data-urlencode query='_time:[0, now] | sort by (_time desc)  ' \
    --data-urlencode limit=1000 \
    | wc -l
44

curl --no-progress-meter 'http://rck9thr.test:9428/select/logsql/query' \
    --data-urlencode query='_time:[0, now] | sort by (_time desc)  ' \
    --data-urlencode limit=1000 \
    | wc -l
45

curl --no-progress-meter 'http://rck9thr.test:9428/select/logsql/query' \
    --data-urlencode query='_time:[0, now] | sort by (_time desc)  ' \
    --data-urlencode limit=1000 \
    | wc -l
55


curl --no-progress-meter 'http://rck9thr.test:9428/select/logsql/query' \
    --data-urlencode query='_time:[0, now] | sort by (_time desc)  ' \
    --data-urlencode limit=1000 \
    | wc -l
45

To Reproduce

maybe datadir can help vicloglimitrequstparam.tag.gz

Version

victoria-logs-20240515-025846-tags-v0.7.0-victorialogs-0-g6fdba8599d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working victorialogs
Projects
None yet
Development

No branches or pull requests

3 participants