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

Rest filters execution order doesn't reflect javadocs #7019

Closed
javanna opened this Issue Jul 24, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@javanna
Copy link
Member

javanna commented Jul 24, 2014

RestFilters allow to configure their execution order through the order method. Their javadocs say:

Execution is done from lowest value to highest.

The filters are ordered and executed the opposite way though, from highest to lowest.

@javanna javanna added bug labels Jul 24, 2014

@javanna javanna self-assigned this Jul 24, 2014

@javanna javanna added v1.4.0 labels Jul 24, 2014

javanna added a commit to javanna/elasticsearch that referenced this issue Jul 28, 2014

javanna added a commit that referenced this issue Jul 28, 2014

@javanna

This comment has been minimized.

Copy link
Member Author

javanna commented Jul 28, 2014

This issue is marked as breaking as plugins that register multiple REST filters might rely on their wrong ordering, quite a rare usecase though I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.