You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/10/09 07:53:00 UTC
[jira] [Commented] (IGNITE-6030) Allow enabling persistence
per-cache
[ https://issues.apache.org/jira/browse/IGNITE-6030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196610#comment-16196610 ]
Pavel Tupitsyn commented on IGNITE-6030:
----------------------------------------
{code}
DefaultRegionConfiguration
DataRegions
{code}
Looks inconsistent to me. In one case we call it RegionConfiguration, in another case DataRegion.
> 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
> getDefaultRegionConfiguration
> getDataRegions
> getPageSize
> getSystemRegionInitialSize
> getSystemRegionMaxSize
> // persistence coniguration
> getCheckpointingFrequency
> getCheckpointingPageBufferSize
> getCheckpointingThreads
> getCheckpointWriteOrder
> getFileIOFactory
> getLockWaitTime
> getPersistentStorePath
> getRateTimeInterval
> getSubIntervals
> getTlbSize
> getWalArchivePath
> getWalAutoArchiveAfterInactivity
> getWalFlushFrequency
> getWalFsyncDelayNanos
> getWalHistorySize
> getWalMode
> getWalRecordIteratorBufferSize
> getWalSegments
> getWalSegmentSize
> getWalStorePath
> isAlwaysWriteFullPages
> isMetricsEnabled
> isWriteThrottlingEnabled
> DataRegionConfiguration
> // memory policy configuration
> isPersistenceEnabled (default = false)
> getEmptyPagesPoolSize
> getEvictionThreshold
> getInitialSize
> getMaxSize
> getName
> getPageEvictionMode
> getRateTimeInterval
> getSubIntervals
> getSwapFilePath
> 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)