[ 
https://issues.apache.org/jira/browse/IGNITE-6030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209691#comment-16209691
 ] 

Denis Magda commented on IGNITE-6030:
-------------------------------------

[~ivan.glukos], please consider the following before closing the ticket:
* Update all the persistence and memory pools related examples to the new 
configuration format. Run a compilation and make sure there is no single 
example that prints out the class deprecated warning. For instance, these two 
have to be adopted -  {{PersistentStoreExample}}, {{MemoryPoliciesExample}}. 
The latter should be renamed to {{DataRegionsConfigurationExample}}.
* Make sure that every property gets sufficient javadoc for our users to 
understand.
* Reassign the ticket on me for documentation updates on readme.io side. I'll 
rely on the javadoc provided by you. 

> Allow enabling persistence per-cache
> ------------------------------------
>
>                 Key: IGNITE-6030
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6030
>             Project: Ignite
>          Issue Type: New Feature
>          Components: persistence
>    Affects Versions: 2.1
>            Reporter: Alexey Goncharuk
>            Assignee: Ivan Rakov
>            Priority: Critical
>              Labels: important
>             Fix For: 2.3
>
>
> Also, when cache native persistence is disabled, we need to make sure that 
> different {{CacheStores}} can be configured on per-cache basis.
> New storage configuration design draft:
> {noformat}
> DataStorageConfiguration
>       // memory configuration
>       getConcurrencyLevel
>       getDefaultDataRegionConfiguration
>       getDataRegionConfigurations
>       getPageSize
>       getSystemRegionInitialSize
>       getSystemRegionMaxSize
>       // persistence coniguration
>       getCheckpointFrequency
>       getCheckpointPageBufferSize
>       getCheckpointThreads
>       getCheckpointWriteOrder
>       getFileIOFactory
>       getLockWaitTime
>       getStoragePath // storage for index and partition files
>       getMetricsRateTimeInterval
>       getMetricsSubIntervalCount
>       getWalThreadLocalBufferSize
>       getWalArchivePath // archived WAL segments
>       getWalAutoArchiveAfterInactivity
>       getWalFlushFrequency
>       getWalFsyncDelayNanos
>       getWalHistorySize
>       getWalMode
>       getWalRecordIteratorBufferSize
>       getWalSegments
>       getWalSegmentSize
>       getWalPath // working set of WAL segments
>       isAlwaysWriteFullPages
>       isMetricsEnabled
>       isWriteThrottlingEnabled
> DataRegionConfiguration
>       // memory policy configuration
>       isPersistenceEnabled (default = false)
>       getEmptyPagesPoolSize
>       getEvictionThreshold
>       getInitialSize
>       getMaxSize
>       getName
>       getPageEvictionMode
>       getMetricsRateTimeInterval
>       getMetricsSubIntervalCount
>       getSwapPath
>       isMetricsEnabled
> {noformat}
> New metrics and MBean classes:
> {noformat}
> PersistenceMetrics -> DataStorageMetrics
> PersistenceMetricsMXBean -> DataStorageMetricsMXBean
> MemoryMetrics -> DataRegionMetrics
> MemoryMetricsMXBean -> DataRegionMetricsMXBean
> {noformat}
> Please note that old versions of all classes and methods are retained in 
> codebase as deprecated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to