Skip to content

BUG: use a single trie for all methods #46482

@suikammd

Description

@suikammd

ES 6.x version use a single trie for all methods which results to covering the already registered handler params. ex
I have two methods : POST /events/{id}, GET /events/{name}, after registering the POST becomes /events/{name}.
check insertOrUpdate in https://github.com/elastic/elasticsearch/blob/5436581f696ce27513266090965afc824df76175/server/src/main/java/org/elasticsearch/common/path/PathTrie.java
ES 5.x use different trie for different methods, more reasonable?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions