Closed karel-rehor closed 1 month ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 77.77778%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 88.50%. Comparing base (
7b39e0c
) to head (3824efe
). Report is 9 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
.../influxdb/client/write/events/WriteErrorEvent.java | 77.77% | 1 Missing and 1 partial :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proposed Changes
Http Headers are already part of
InfluxException
. In theWriteApi
they can be accessed with anEventListener
. WithWriteApiBlocking
they get thrown inwrite
method calls.InfluxException
Note that Cloud v3 and OSS v2 handle exceptional streamed or batched data on the server side a little bit differently. It appears that with v3 cloud batches of data that include some invalid records along with valid ones, will still write the valid records and return a success HTTP status code. OSS v2 on the other hand returns an error status triggering an exception.
Checklist
mvn test
completes successfully