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

ASF GitHub Bot commented on IGNITE-6030:
----------------------------------------

Github user kdudkov closed the pull request at:

    https://github.com/apache/ignite/pull/2624


> 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