Christoph Kaser created LUCENE-9951:
---------------------------------------
Summary: Add an InfoStream to ReplicationService to facilitate
debugging
Key: LUCENE-9951
URL: https://issues.apache.org/jira/browse/LUCENE-9951
Project: Lucene - Core
Issue Type: Improvement
Components: modules/replicator
Reporter: Christoph Kaser
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]