Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
New, Patch Available
Description
At the moment, when an exception occurs during replication, the ReplicationService tries to serialize it and send it to the client, which then reports it.
This does not work when the exception occurs after the first part of the response has already been sent, or if there was a network error. In these cases, the exception is silently ignored (on the server side), and the client side will report a TruncatedChunkException, making it hard to find the exact cause of the problem.
I propose to add an InfoStream to the ReplicationService (analogous to the ReplicationClient) which will log requests and errors that are sent back to the client.
I will provide a PR for this issue.
Attachments
Issue Links
- links to