You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2016/09/14 11:59:20 UTC
[jira] [Created] (OAK-4803) Simplify the client side of the cold
standby
Francesco Mari created OAK-4803:
-----------------------------------
Summary: Simplify the client side of the cold standby
Key: OAK-4803
URL: https://issues.apache.org/jira/browse/OAK-4803
Project: Jackrabbit Oak
Issue Type: Improvement
Components: segment-tar
Reporter: Francesco Mari
Assignee: Francesco Mari
Fix For: Segment Tar 0.0.12
The implementation of the cold standby client is overly and unnecessarily complicated. It would be way clearer to separate the client code in two major components: a simple client responsible for sending messages to and receive responses from the standby server, and the synchronization algorithm used to read data from the server and to save read data in the local {{FileStore}}.
Moreover, the client simple client could be further modularised by encapsulating request encoding, response decoding and message handling into their own Netty handlers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)