Version: 7.3.1
Java: Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Passing search_after
parameter with a numeric value larger than 64bit causes Elasticsearch service to terminate.
Doing this:
curl -X POST \
http://x.x.x.x:9200/_search \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"query": {
"match_all": {}
},
"sort": [
{
"created": {
"order": "asc"
}
}
],
"search_after": [
922337203685477600012718
]
}'
Leads to this:
Oct 16 15:04:40 ip-x-x-x-x systemd[1]: Started Elasticsearch.
Oct 16 15:04:46 ip-x-x-x-x elasticsearch[3738]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Oct 16 15:05:30 ip-x-x-x-x systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Oct 16 15:05:30 ip-x-x-x-x systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Stack Trace: https://gist.github.com/fperks/8fb16f82c2837af3421a98033ad3c537