You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2017/10/20 07:51:01 UTC

[jira] [Resolved] (IGNITE-6030) Allow enabling persistence per-cache

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

Alexey Goncharuk resolved IGNITE-6030.
--------------------------------------
    Resolution: Fixed

Merged to master and ignite-2.3

> 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)