Francesco Mari commented on OAK-5902:

[~dulceanu], I had a look at the code. Your solution looks very good. Before 
committing, the problems with the memory consumption in 
`DataStoreTestBase.testSyncBigBlob` and the running time in 
`ExternalPrivateStoreIT` should be investigated. It would be good to at least 
frame the problem, so we can plan for further improvements on this patch.

> Cold standby should allow syncing of blobs bigger than 2.2 GB
> -------------------------------------------------------------
>                 Key: OAK-5902
>                 URL: https://issues.apache.org/jira/browse/OAK-5902
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>    Affects Versions: 1.6.1
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>             Fix For: 1.8, 1.7.6
> Currently there is a limitation for the maximum binary size (in bytes) to be 
> synced between primary and standby instances. This matches 
> {{Integer.MAX_VALUE}} (2,147,483,647) bytes and no binaries bigger than this 
> limit can be synced between the instances.
> Per comment at [1], the current protocol needs to be changed to allow sending 
> of binaries in chunks, to surpass this limitation.
> [1] 
> https://github.com/apache/jackrabbit-oak/blob/1.6/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/standby/client/StandbyClient.java#L125

This message was sent by Atlassian JIRA

Reply via email to