[ 
https://issues.apache.org/jira/browse/OAK-12445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-12445:
---------------------------------
    Fix Version/s: 2.8.0

> AzureDataStoreRegistrar ignores staging and minimum record length settings
> --------------------------------------------------------------------------
>
>                 Key: OAK-12445
>                 URL: https://issues.apache.org/jira/browse/OAK-12445
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Rishabh Daim
>            Assignee: Rishabh Daim
>            Priority: Major
>             Fix For: 2.8.0
>
>
> Azure datastore configuration can silently enable asynchronous uploads even 
> when stagingSplitPercentage=0. This affects both SDK v8 and v12 through the 
> OSGi registrar introduced in Oak 2.6.0.
> AzureDataStoreRegistrar returns DelegatingDataStore. AbstractDataStoreService 
> applies PropertiesUtil.populate(ds, config, false), but the wrapper has no 
> setters for stagingSplitPercentage, stagingPurgeInterval, 
> stagingRetryInterval or minRecordLength. These settings are ignored; the 
> active datastore retains its defaults, including 10% upload staging. Passing 
> the configuration to setProperties does not populate these datastore fields.
> Reproduced with the released Oak 2.6.0 JAR: direct configuration applies 
> stagingSplitPercentage=0, while configuration through the wrapper leaves it 
> at 10 for both SDKs. Forwarding the four missing setters restores all tested 
> values. The minRecordLength setter requires dispatch to the concrete 
> AzureDataStore/AzureDataStoreV12 classes.
> Add these setters and regression tests that populate the wrapper 
> configuration for both SDKs. Existing integration tests set 
> stagingSplitPercentage directly on the concrete stores, bypassing the 
> production configuration path.
> Introduced by OAK-12219, [PR 
> #2989|https://github.com/apache/jackrabbit-oak/pull/2989], commit 
> e33efd6156d3b74a18d3e9f9e0b4fcd8cde32086.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to