Something has changed with scan consistency in 7.6, because it was working in 7.2
"scan_consistency":"request_plus"
|
$ curl -vvv -X POST -u Administrator:password http://192.168.107.130:8095/query/service -d '{"args":["6c8f7dea2c0f834144d513d08f085fcf"],"client_context_id":"715d2c-af5a-7849-c1c2-1acaf4d63266a2","query_context":"default:`default`.`_default`","scan_consistency":"request_plus","statement":"SELECT * FROM `_default` where meta().id = $1","timeout":"75000ms"}' -H 'content-type: application/json'
|
Note: Unnecessary use of -X or --request, POST is already inferred.
|
* Trying 192.168.107.130:8095...
|
* Connected to 192.168.107.130 (192.168.107.130) port 8095
|
* Server auth using Basic with user 'Administrator'
|
> POST /query/service HTTP/1.1
|
> Host: 192.168.107.130:8095
|
> Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
|
> User-Agent: curl/8.4.0
|
> Accept: */*
|
> content-type: application/json
|
> Content-Length: 265
|
>
|
< HTTP/1.1 200 OK
|
< transfer-encoding: chunked
|
< connection: keep-alive
|
< content-type: application/json; charset=UTF-8
|
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
|
<
|
{
|
"requestID": "ac162455-4188-469b-8378-217ab719029b",
|
"clientContextID": "715d2c-af5a-7849-c1c2-1acaf4d63266a2",
|
"errors": [{
|
"code": 21002, "msg": "Request timed out and will be cancelled" }
|
],
|
"status": "timeout",
|
"metrics": {
|
"elapsedTime": "75.004132101s",
|
"executionTime": "75.003419384s",
|
"resultCount": 0,
|
"resultSize": 0,
|
"processedObjects": 0,
|
"errorCount": 1
|
}
|
}
|
* Connection #0 to host 192.168.107.130 left intact
|