summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
Commit message (Collapse)AuthorAgeFilesLines
* Improve error message when visiting with wrong document typejonmv2024-05-212-2/+12
|
* Explicitly track number of locally entries received through visitingTor Brede Vekterli2024-05-132-6/+16
| | | | | | | | | | | | | | | | | | | Using the underlying session's `VisitorStatistics` may not be 1-1 with the actual number of entries the data handler has been invoked with. This causes issues if anyone tries to cross-check the document count emitted as part of the results vs. the number of entries actually present in the result array. The session updates its statistics based on the what is returned from the backend as part of _successful_ `CreateVisitorReply` messages. If a CreateVisitor returns with a transient error, the statistics will not be updated, but it's unspecified how many (if any) document entries that particular visitor may already have pushed to the client directly from the content nodes. Note that the locally tracked number is only reported if the session itself is receiving the document data; if a remote data handler is in use we have to report what the `VisitorStatistics` give us.
* Revert "Explicitly track number of entries received through visiting"Tor Brede Vekterli2024-05-102-7/+5
|
* Explicitly track number of entries received through visitingTor Brede Vekterli2024-05-082-5/+7
| | | | | | | | | | | | | | | Using the underlying session's `VisitorStatistics` may not be 1-1 with the actual number of entries the data handler has been invoked with. This causes issues if anyone tries to cross-check the document count emitted as part of the results vs. the number of entries actually present in the result array. The session updates its statistics based on the what is returned from the backend as part of _successful_ `CreateVisitorReply` messages. If a CreateVisitor returns with a transient error, the statistics will not be updated, but it's unspecified how many (if any) document entries that particular visitor may already have pushed to the client directly from the content nodes.
* Use full author nameHarald Musum2024-04-246-6/+6
|
* Revert "- Avoid a Q in the document v1 handler. Rely only on mbus Q."Henning Baldersheim2024-04-162-15/+178
|
* Use list that allows for null elements.Henning Baldersheim2024-04-121-1/+2
|
* Replace all usages of Arrays.asList with List.of where possible.Henning Baldersheim2024-04-121-8/+7
|
* Unify on List.ofHenning Baldersheim2024-04-111-5/+4
|
* - Avoid a Q in the document v1 handler. Rely only on mbus Q.Henning Baldersheim2024-04-042-178/+15
| | | | - This avoid filling a potentially large Q, and allows for more direct and better feedback to client.
* Limit amount of work in DocumentV1 Q to 4096, or 3s.Henning Baldersheim2024-04-043-26/+79
| | | | Having only a fixed length here does no work well when throughput is low.
* Don't spam log when connection is abruptly closedBjørn Christian Seime2024-03-261-1/+2
| | | | It's a somewhat common scenario (e.g strict/excessive client timeout or bad network) and the client will detect this anyway.
* Revert "Revert "Jonmv/reapply leaner token buffer""Tor Brede Vekterli2024-01-262-4/+12
|
* Revert "Jonmv/reapply leaner token buffer"Jon Marius Venstad2024-01-262-12/+4
|
* Handle other fields in streaming document JSON parsingjonmv2024-01-261-1/+8
|
* Revert "Merge pull request #30067 from ↵jonmv2024-01-262-3/+4
| | | | | | | vespa-engine/revert-30038-jonmv/leaner-token-buffer" This reverts commit b771fbe5fe648cf4c64e04341542e11c2e21cb9d, reversing changes made to 7b578506b5c4c59f4273e74af1f0db4a74f82175.
* Revert "Jonmv/leaner token buffer"Jon Marius Venstad2024-01-252-4/+3
|
* Merge pull request #30038 from vespa-engine/jonmv/leaner-token-bufferJon Marius Venstad2024-01-252-3/+4
|\ | | | | Jonmv/leaner token buffer
| * Add new LazyTokenBuffer, and wire it into existing tensor parse testsjonmv2024-01-242-3/+4
| |
* | Metrics for container.feed GET requests toojonmv2024-01-253-5/+6
|/
* Use 500 for errors in document API, from /doc/v1jonmv2024-01-052-19/+10
|
* Update copyrightJon Bratseth2023-10-0950-50/+50
|
* Support visiting remove operations through /document/v1jonmv2023-09-072-29/+68
|
* Remove unnecessary dependency on container-testgjoranv2023-07-121-6/+0
|
* Properly handle open visitor timestamp ranges in request parametersTor Brede Vekterli2023-05-232-4/+39
|
* Always print documentCount field when visiting was startedjonmv2023-05-222-4/+8
|
* Disable string length restriction introduced in Jackson 2.15Bjørn Christian Seime2023-05-091-1/+5
| | | | Disable restriction only for parsers/generators which is likely to handle literals exceeding 5M
* Use metric enums more places.yngveaasheim2023-05-091-18/+17
|
* Merge pull request #26905 from vespa-engine/havardpe/put-create-from-feedHåvard Pettersen2023-04-282-7/+11
|\ | | | | pick up create flag for put operations
| * pick up create flag for put operationsHåvard Pettersen2023-04-282-7/+11
| |
* | Merge pull request #26894 from ↵Jon Marius Venstad2023-04-272-98/+132
|\ \ | |/ |/| | | | | vespa-engine/jonmv/504-when-doc-v1-visits-no-buckets-stream-mode HTTP 504 in /doc/v1 when stream mode and no buckets are visited
| * HTTP 504 in /doc/v1 when stream mode and no buckets are visitedjonmv2023-04-272-98/+132
| |
* | Unify passing of all feed operations through the various feed apis.Henning Baldersheim2023-04-272-31/+23
|/
* Use request creation time instead of connection creatino timejonmv2023-04-241-2/+2
|
* Stricter HTTP timeout, subtract 5s or 10% + 100ms for visitsjonmv2023-04-241-11/+17
|
* Improve timeout handling in /doc/v1jonmv2023-04-242-14/+18
| | | | | | Set timeout based on qhen HTTP request was connected to the container, instead of when it is dispatched to the document API; this should reduce the chance of the client going away before we close the request from the handler
* Keep default wantedDocumentCount = 1 for now.Henning Baldersheim2023-04-191-1/+1
|
* Update testHenning Baldersheim2023-04-191-1/+1
|
* Allow wantedDocumentCount above 1024 for chunked modeHenning Baldersheim2023-04-191-3/+2
|
* Simplify and modernize codeHenning Baldersheim2023-04-191-42/+22
|
* Invalid continuation token is a HTTP 400jonmv2023-04-121-1/+1
|
* Do an early check that timestamp from/to range is validTor Brede Vekterli2023-03-102-0/+12
|
* Expose from/to visitor timestamps in Document V1 APITor Brede Vekterli2023-03-102-1/+10
| | | | | Mirrors `vespa-visit` (and the underlying `VisitorParameters`) in being in microseconds from UTC epoch.
* Make proper constantBjørn Christian Seime2023-03-021-9/+11
|
* Correctly classify transient/retriable errors server side for legacy feed APIBjørn Christian Seime2023-03-023-10/+23
|
* Introduce additional docv1 metrics for most common causes of failureBjørn Christian Seime2023-01-302-3/+16
|
* Test direct renderingJon Bratseth2023-01-161-8/+58
|
* Support direct tensor renderingJon Bratseth2023-01-142-4/+15
|
* Increment metric on parse errors in `/document/v1`Bjørn Christian Seime2023-01-091-4/+9
|
* Don't classify condition-not-met and not-found as successBjørn Christian Seime2023-01-091-2/+4
|