mfyuce commented on PR #3516:
URL: https://github.com/apache/iggy/pull/3516#issuecomment-4763152101

   Both issues addressed in this push:
   
   **Channel-full → false success** (`server.rs`): `send_messages` now returns 
the drop count. Each service impl populates the OTLP-spec rejection field when 
nonzero — `rejected_log_records`, `rejected_data_points`, `rejected_spans` — so 
the OTel SDK/Collector sees a partial success and can retry or alert 
accordingly.
   
   **`rx.recv() == None` → busy-loop** (`lib.rs`): The `None` branch now 
returns `Err(Error::Connection("OTLP gRPC server terminated unexpectedly"))` 
instead of `Ok(empty)`, so the runtime propagates the failure and stops the 
connector cleanly instead of spinning.
   
   /ready


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to