[
https://issues.apache.org/jira/browse/IGNITE-15243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393267#comment-17393267
]
Ivan Bessonov commented on IGNITE-15243:
----------------------------------------
[[email protected]] thank you for the contribution! Code looks good
> Return the IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE and deprecate it
> ------------------------------------------------------------------------
>
> Key: IGNITE-15243
> URL: https://issues.apache.org/jira/browse/IGNITE-15243
> Project: Ignite
> Issue Type: Improvement
> Components: persistence
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Fix For: 2.12
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For backward compatibility, return the
> *IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE* and deprecate it, with the
> following logic:
> * If the user himself set the *DataStorageConfiguration#minWalArchiveSize*,
> we take it;
> * if *IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE* is set, we take it (with
> standard checks for > 0 and < *DataStorageConfiguration#maxWalArchiveSize*);
> * Otherwise, we take default
> (*DataStorageConfiguration#HALF_MAX_WAL_ARCHIVE_SIZE*).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)