Allocation explain should accept query-string parameters #127028
Labels
:Distributed Coordination/Allocation
All issues relating to the decision making around placing a shard (both master logic & on the nodes)
>enhancement
Supportability
Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better.
Team:Distributed Coordination
Meta label for Distributed Coordination team
Today allocation explain takes its parameters in the request body:
Leaving aside the question of the validity of GET-with-body (you can use
POST
here) it's also just kinda awkward to pass in a flat map of 4 somewhat-optional parameters in the body. We could just as well make the API accept the same parameters in the query-part of the URI1:Note that we probably shouldn't accept a mix of these two styles: if there are any parameters, they must all be in the body or all in the query string. We might even want to deprecate the use of the body for these arguments and remove it in the next major?
Footnotes
Technically ok you can already do this using the
source
andsource_content_type
params:But eh that's not all that nice is it? ↩
The text was updated successfully, but these errors were encountered: