[
https://issues.apache.org/jira/browse/IGNITE-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874652#comment-15874652
]
Taras Ledkov edited comment on IGNITE-3469 at 2/21/17 10:28 AM:
----------------------------------------------------------------
h3. The list of the deprecated public class / methods / properties:
- two methods {{IgniteCluster.mapKeyToNode}} - the removing is simple because
its are used rare;
- {{IgniteCache.randomEntry}} - the removing is simple because it is used rare;
- The system flags:
-- {{IGNITE_BINARY_SORT_OBJECT_FIELDS}};
-- {{IGNITE_BINARY_DONT_WRAP_TREE_STRUCTURES}};
-- {{IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT}} - not used in the projects now.
- {{CacheTypeMetadata}};
- Classes related with {{AffinityNodeHashResolver}};
- Backup filters for affinity functions;
- {{RandomEvictionPolicy}};
- {{ContinuousQuery.setRemoteFilter}};
- {{CacheStore.sessionEnd}};
- {{CacheAbstractJdbcStore.translateFields}};
- {{CacheJdbcPojoStoreFactory.setDataSource}};
- {{CacheConfiguration}} properties: {{transactionManagerLookupClassName}} and
{rebalanceThreadPoolSize}};
- {{ConnectorConfiguration.sslContextFactory}} property;
- {{FileSystemConfiguration}} properties:
-- {{fragmentizerLocalWritesRatio}};
-- {{trashPurgeTimeout}};
-- {{dualModePutExecutorService}};
-- {{dualModePutExecutorServiceShutdown}};
-- {{dualModeMaxPendingPutsSize}};
- {{IgniteConfiguration}} properties:
-- {{nodeId}};
-- {{DFLT_PUBLIC_KEEP_ALIVE_TIME}};
-- {{DFLT_PUBLIC_THREADPOOL_QUEUE_CAP}};
-- {{DFLT_SYSTEM_MAX_THREAD_CNT}};
-- {{DFLT_SYSTEM_KEEP_ALIVE_TIME}};
-- {{DFLT_UTILITY_KEEP_ALIVE_TIME}};
-- {{DFLT_SYSTEM_THREADPOOL_QUEUE_CAP}};
- {{TransactionConfiguration}} properties:
-- {{txSerializableEnabled}};
-- {{txManagerLookupClassName}};
- Several methods at the {{IgfsPath}} class: empty constructor, {{root()}} and
{{isSame}} methods;
- {{IgniteSpiContext}}: methods {{addMessageListener, removeMessageListener}};
- {{TcpCommunicationSpi}} properties:
-- {{connectionBufferSize}};
-- {{connectionBufferFlushFrequency}};
-- {{minimumBufferedMessageCount}};
- {{StreamTupleExtractor}} class and relations;
- ignite-hadoop: Several constructors of the
{{IgniteHadoopIgfsSecondaryFileSystem}};
- ignite-yarn: {{ApplicationMaster.getContainers()}}.
h3. The list of the deprecated private class / methods / properties:
- Classes are retated to the {{GridSslContextFactory}};
- {{JdbcConnection}} related classes;
- {{GridCacheUtils.cheatCache}};
- {{GridCacheCommittedTxInfo}};
- {{GridDistributedTxFinishRequest}}: {{syncCommit}}, {{syncRollback}};
- {{GridDhtPartitionDemander}}: {{demandLock, dmIdx, worker, SupplyMessage,
DemandWorker}};
- One of the constructors of the {{GridDhtPartitionFullMap}};
- {{GridDhtPartitionMap}};
- {{GridDhtPartitionSupplier}} old listeners & old demand message;
- {{AffinityTask.affinityKey()}}
- {{GridQueryRequest}};
- One of the constructors of {{GridLeanSet}};
- Several methods at the {{IgniteUtils}};
- Several methods at the {{GridFunc}};
- {{GridTupleV}};
- {{PlatformDotNetBinaryTypeConfiguration.isKeepDeserialized()}};
- {{ServerImpl.RingMessageWorker.processNodeAddedMessage}};
- {{TcpDiscoverySpi.versionCheckFailed}};
was (Author: tledkov-gridgain):
h3. The list of the deprecated public class / methods / properties:
- two methods {{IgniteCluster.mapKeyToNode}} - the removing is simple because
its are used rare;
- {{IgniteCache.randomEntry}} - the removing is simple because it is used rare;
- The system flags:
-- {{IGNITE_BINARY_SORT_OBJECT_FIELDS}};
-- {{IGNITE_BINARY_DONT_WRAP_TREE_STRUCTURES}};
-- {{IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT}} - not used in the projects now.
- {{CacheTypeMetadata}};
- Classes related with {{AffinityNodeHashResolver}};
- Backup filters for affinity functions;
- {{RandomEvictionPolicy}};
- {{ContinuousQuery.setRemoteFilter}};
- {{CacheStore.sessionEnd}};
- {{CacheAbstractJdbcStore.translateFields}};
- {{CacheJdbcPojoStoreFactory.setDataSource}};
- {{CacheConfiguration}} properties: {{transactionManagerLookupClassName}} and
{rebalanceThreadPoolSize}};
- {{ConnectorConfiguration.sslContextFactory}} property;
- {{FileSystemConfiguration}} properties:
-- {{fragmentizerLocalWritesRatio}};
-- {{trashPurgeTimeout}};
-- {{dualModePutExecutorService}};
-- {{dualModePutExecutorServiceShutdown}};
-- {{dualModeMaxPendingPutsSize}};
- {{IgniteConfiguration}} properties:
-- {{nodeId}};
-- {{DFLT_PUBLIC_KEEP_ALIVE_TIME}};
-- {{DFLT_PUBLIC_THREADPOOL_QUEUE_CAP}};
-- {{DFLT_SYSTEM_MAX_THREAD_CNT}};
-- {{DFLT_SYSTEM_KEEP_ALIVE_TIME}};
-- {{DFLT_UTILITY_KEEP_ALIVE_TIME}};
-- {{DFLT_SYSTEM_THREADPOOL_QUEUE_CAP}};
- {{TransactionConfiguration}} properties:
-- {{txSerializableEnabled}};
-- {{txManagerLookupClassName}};
- Several methods at the {{IgfsPath}} class: empty constructor, {{root()}} and
{{isSame}} methods;
- {{IgniteSpiContext}}: methods {{addMessageListener, removeMessageListener}};
- {{TcpCommunicationSpi}} properties:
-- {{connectionBufferSize}};
-- {{connectionBufferFlushFrequency}};
-- {{minimumBufferedMessageCount}};
- {{StreamTupleExtractor}} class and relations;
h3. The list of the deprecated private class / methods / properties:
- Classes are retated to the {{GridSslContextFactory}};
- {{JdbcConnection}} related classes;
- {{GridCacheUtils.cheatCache}};
- {{GridCacheCommittedTxInfo}};
- {{GridDistributedTxFinishRequest}}: {{syncCommit}}, {{syncRollback}};
- {{GridDhtPartitionDemander}}: {{demandLock, dmIdx, worker, SupplyMessage,
DemandWorker}};
- One of the constructors of the {{GridDhtPartitionFullMap}};
- {{GridDhtPartitionMap}};
- {{GridDhtPartitionSupplier}} old listeners & old demand message;
- {{AffinityTask.affinityKey()}}
- {{GridQueryRequest}};
- One of the constructors of {{GridLeanSet}};
- Several methods at the {{IgniteUtils}};
- Several methods at the {{GridFunc}};
- {{GridTupleV}};
- {{PlatformDotNetBinaryTypeConfiguration.isKeepDeserialized()}};
- {{ServerImpl.RingMessageWorker.processNodeAddedMessage}};
- {{TcpDiscoverySpi.versionCheckFailed}};
-
> Get rid of deprecated APIs and entities
> ---------------------------------------
>
> Key: IGNITE-3469
> URL: https://issues.apache.org/jira/browse/IGNITE-3469
> Project: Ignite
> Issue Type: Task
> Reporter: Alexey Goncharuk
> Assignee: Taras Ledkov
> Labels: important
> Fix For: 2.0
>
>
> There are more than 220 deprecated elements in Ignite code kept for the sake
> of backward compatibility. We need to cleanup the code for Ignite 2.0 release.
> 2.0 migration guide has to be updated if needed:
> https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+2.0+Migration+Guide
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)