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

Sergei Ryzhov resolved IGNITE-15053.
------------------------------------
      Assignee: Sergei Ryzhov
    Resolution: Won't Fix

> Exclude transient fields from Affinity.toString
> -----------------------------------------------
>
>                 Key: IGNITE-15053
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15053
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Sergei Ryzhov
>            Assignee: Sergei Ryzhov
>            Priority: Minor
>
> IMHO Affinity.toString contains more information than needed and see like this
> {panel:title=now}
> RendezvousAffinityFunction [parts=513, mask=-1, exclNeighbors=false, 
> exclNeighborsWarn=false, backupFilter=null, affinityBackupFilter=null, 
> ignite=IgniteKernal [longJVMPauseDetector=LongJVMPauseDetector 
> [workerRef=Thread[jvm-pause-detector-worker,5,main], longPausesCnt=0, 
> longPausesTotalDuration=0, lastWakeUpTime=1625473777376, 
> longPausesTimestamps=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
> 0, 0], longPausesDurations=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
> 0, 0, 0, 0]], cfg=IgniteConfiguration 
> [igniteInstanceName=rendezvous.RendezvousAffinityFunctionStandardHashSelfTest,
>  pubPoolSize=12, svcPoolSize=12, callbackPoolSize=12, stripedPoolSize=12, 
> sysPoolSize=12, mgmtPoolSize=4, dataStreamerPoolSize=12, 
> utilityCachePoolSize=12, utilityCacheKeepAliveTime=60000, p2pPoolSize=2, 
> qryPoolSize=12, buildIdxPoolSize=3, igniteHome=/Users/sega/work/ignite, 
> igniteWorkDir=/Users/sega/work/ignite/work, 
> mbeanSrv=com.sun.jmx.mbeanserver.JmxMBeanServer@2d12b3a3, 
> nodeId=520c0cfc-5890-41e4-b888-1d79b3b54c41, marsh=BinaryMarshaller [], 
> marshLocJobs=false, daemon=false, p2pEnabled=true, netTimeout=10000, 
> netCompressionLevel=1, sndRetryDelay=1000, sndRetryCnt=3, 
> metricsHistSize=10000, metricsUpdateFreq=1000, 
> metricsExpTime=9223372036854775807, discoSpi=TcpDiscoverySpi [addrRslvr=null, 
> addressFilter=null, sockTimeout=5000, ackTimeout=5000, marsh=JdkMarshaller 
> [clsFilter=org.apache.ignite.marshaller.MarshallerUtils$1@3eef6312], 
> reconCnt=10, reconDelay=2000, maxAckTimeout=600000, soLinger=0, 
> forceSrvMode=false, clientReconnectDisabled=false, internalLsnr=null, 
> skipAddrsRandomization=false], segPlc=STOP, segResolveAttempts=2, 
> waitForSegOnStart=true, allResolversPassReq=true, segChkFreq=10000, 
> commSpi=TcpCommunicationSpi 
> [connectGate=org.apache.ignite.spi.communication.tcp.internal.ConnectGateway@704a74c5,
>  ctxInitLatch=java.util.concurrent.CountDownLatch@3c30f015[Count = 0], 
> stopping=false, 
> clientPool=org.apache.ignite.spi.communication.tcp.internal.ConnectionClientPool@11548b3e,
>  
> nioSrvWrapper=org.apache.ignite.spi.communication.tcp.internal.GridNioServerWrapper@31ade0ca,
>  
> stateProvider=org.apache.ignite.spi.communication.tcp.internal.ClusterStateProvider@fec493c],
>  evtSpi=MemoryEventStorageSpi [expireAgeMs=9223372036854775807, 
> expireCnt=10000, filter=null], colSpi=NoopCollisionSpi [], 
> deploySpi=LocalDeploymentSpi [], 
> indexingSpi=org.apache.ignite.spi.indexing.noop.NoopIndexingSpi@819c0dd, 
> addrRslvr=null, 
> encryptionSpi=org.apache.ignite.spi.encryption.noop.NoopEncryptionSpi@70acf614,
>  tracingSpi=org.apache.ignite.spi.tracing.NoopTracingSpi@794a69d, 
> clientMode=false, rebalanceThreadPoolSize=3, rebalanceTimeout=10000, 
> rebalanceBatchesPrefetchCnt=3, rebalanceThrottle=0, 
> rebalanceBatchSize=524288, txCfg=TransactionConfiguration 
> [txSerEnabled=false, dfltIsolation=REPEATABLE_READ, 
> dfltConcurrency=PESSIMISTIC, dfltTxTimeout=0, 
> txTimeoutOnPartitionMapExchange=0, deadlockTimeout=10000, 
> pessimisticTxLogSize=0, pessimisticTxLogLinger=10000, tmLookupClsName=null, 
> txManagerFactory=null, useJtaSync=false], cacheSanityCheckEnabled=true, 
> discoStartupDelay=60000, deployMode=SHARED, p2pMissedCacheSize=100, 
> locHost=127.0.0.1, timeSrvPortBase=31100, timeSrvPortRange=100, 
> failureDetectionTimeout=10000, sysWorkerBlockedTimeout=null, 
> clientFailureDetectionTimeout=10000, metricsLogFreq=0, connectorCfg=null, 
> odbcCfg=null, warmupClos=null, atomicCfg=AtomicConfiguration 
> [seqReserveSize=1000, cacheMode=PARTITIONED, backups=1, aff=null, 
> grpName=null], classLdr=null, sslCtxFactory=null, platformCfg=null, 
> binaryCfg=null, memCfg=null, pstCfg=null, dsCfg=DataStorageConfiguration 
> [sysRegionInitSize=41943040, sysRegionMaxSize=104857600, pageSize=4096, 
> concLvl=0, dfltDataRegConf=DataRegionConfiguration [name=default, 
> maxSize=3435973836, initSize=268435456, swapPath=null, 
> pageEvictionMode=DISABLED, pageReplacementMode=CLOCK, evictionThreshold=0.9, 
> emptyPagesPoolSize=100, metricsEnabled=false, metricsSubIntervalCount=5, 
> metricsRateTimeInterval=60000, persistenceEnabled=false, 
> checkpointPageBufSize=0, lazyMemoryAllocation=true, warmUpCfg=null], 
> dataRegions=null, storagePath=null, checkpointFreq=180000, 
> lockWaitTime=10000, checkpointThreads=4, checkpointWriteOrder=SEQUENTIAL, 
> walHistSize=20, maxWalArchiveSize=1073741824, walSegments=10, 
> walSegmentSize=67108864, walPath=db/wal, walArchivePath=db/wal/archive, 
> cdcWalPath=db/wal/cdc, cdcEnabled=false, metricsEnabled=false, 
> walMode=LOG_ONLY, walTlbSize=131072, walBuffSize=0, walFlushFreq=2000, 
> walFsyncDelay=1000, walRecordIterBuffSize=67108864, 
> alwaysWriteFullPages=false, 
> fileIOFactory=org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIOFactory@2ca9cbc7,
>  metricsSubIntervalCnt=5, metricsRateTimeInterval=60000, 
> walAutoArchiveAfterInactivity=-1, walForceArchiveTimeout=-1, 
> writeThrottlingEnabled=false, walCompactionEnabled=false, 
> walCompactionLevel=1, checkpointReadLockTimeout=null, 
> walPageCompression=DISABLED, walPageCompressionLevel=null, 
> dfltWarmUpCfg=null, 
> encCfg=org.apache.ignite.configuration.EncryptionConfiguration@208bad7c, 
> defragmentationThreadPoolSize=4, minWalArchiveSize=-1], 
> snapshotPath=snapshots, activeOnStart=true, activeOnStartPropSetFlag=false, 
> autoActivation=true, autoActivationPropSetFlag=false, 
> clusterStateOnStart=null, sqlConnCfg=null, 
> cliConnCfg=ClientConnectorConfiguration [host=null, port=10800, 
> portRange=100, sockSndBufSize=0, sockRcvBufSize=0, tcpNoDelay=true, 
> maxOpenCursorsPerConn=128, threadPoolSize=12, selectorCnt=6, idleTimeout=0, 
> handshakeTimeout=10000, jdbcEnabled=true, odbcEnabled=true, 
> thinCliEnabled=true, sslEnabled=false, useIgniteSslCtxFactory=true, 
> sslClientAuth=false, sslCtxFactory=null, thinCliCfg=ThinClientConfiguration 
> [maxActiveTxPerConn=100, maxActiveComputeTasksPerConn=0]], 
> mvccVacuumThreadCnt=2, mvccVacuumFreq=5000, authEnabled=false, 
> failureHnd=NoOpFailureHandler [super=AbstractFailureHandler 
> [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, 
> SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], commFailureRslvr=null, 
> sqlCfg=SqlConfiguration [longQryWarnTimeout=3000, dfltQryTimeout=0, 
> sqlQryHistSize=1000, validationEnabled=false], 
> asyncContinuationExecutor=null], 
> igniteInstanceName=rendezvous.RendezvousAffinityFunctionStandardHashSelfTest, 
> startTime=1625473777138, rsrcCtx=null, reconnectState=ReconnectState 
> [firstReconnectFut=GridFutureAdapter [ignoreInterrupts=false, state=INIT, 
> res=null, hash=1541236316], curReconnectFut=null, reconnectDone=null]]]
> {panel}
> I propose to exclude the transient fields and reduce it to
> {panel:title=propose}
> RendezvousAffinityFunction {parts = 513, mask = -1, exclNeighbors = false, 
> backupFilter = null, affinityBackupFilter = null}
> {panel}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to