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

Ivan Artiukhov updated IGNITE-20823:
------------------------------------
    Attachment: IGNITE-20823-logs.zip

> IgniteException: Error removing row version from version chain on garbage 
> collection
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-20823
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20823
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Ivan Artiukhov
>            Priority: Major
>              Labels: ignite-3, ignite3_performance
>         Attachments: IGNITE-20823-logs.zip
>
>
> AI3, rev. b54f5bbc0c5867e72c51ad24985cdc9b3897dfb0
> Benchmark parameters:
>  * *3 server nodes*
>  * aipersist storage engine, 25 partitions (default), *raft.fsync=false*
> Benchmark code: 
> [https://github.com/gridgain/YCSB/blob/ycsb-2023.7/ignite3/src/main/java/site/ycsb/db/ignite3/IgniteClient.java]
>  
> Benchmark parameters:
>  * 100% put of 10 million unique entries, 1 thread:
>  
> {noformat}
> Command line: -db site.ycsb.db.ignite3.IgniteClient -load -P 
> /opt/pubagent/poc/config/ycsb/workloads/workloadc -threads 1 -p 
> recordcount=250000 -p warmupops=50000 -p dataintegrity=true -p 
> measurementtype=timeseries -p status.interval=1 -p 
> hosts=192.168.1.45,192.168.1.87,192.168.1.94 -p recordcount=10000000 -p 
> operationcount=10000000 -s
> {noformat}
>  
> h1. Expected result
> All 10M entries were loaded successfully
> h1. Actual result
> The benchmark inserted 8923286 keys out of 10M and terminated with the 
> following exception:
>  
> {noformat}
> [11:27:26][ERROR][Thread-2] Error inserting key: user7989106549926685042
> org.apache.ignite.lang.IgniteException: Error removing row version from 
> version chain on garbage collection: [rowId=RowId [partitionId=7, 
> uuid=443a358c-cae6-4919-9867-62d8e26d7d42], rowTimestamp=HybridTimestamp 
> [time=111379446563602441, physical=1699515481012, logical=9], tableId=5, 
> partitionId=7]
>       at 
> java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) 
> ~[?:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:754)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:688)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:525)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.wrap(ExceptionUtils.java:589) 
> ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.ClientUtils.sync(ClientUtils.java:50) 
> ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.table.ClientKeyValueBinaryView.put(ClientKeyValueBinaryView.java:168)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.table.ClientKeyValueBinaryView.put(ClientKeyValueBinaryView.java:47)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at site.ycsb.db.ignite3.IgniteClient.insert(IgniteClient.java:127) 
> [ignite3-binding-2023.7.jar:?]
>       at site.ycsb.DBWrapper.insert(DBWrapper.java:237) [core-2023.7.jar:?]
>       at site.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:623) 
> [core-2023.7.jar:?]
>       at site.ycsb.ClientThread.run(ClientThread.java:167) [core-2023.7.jar:?]
>       at java.lang.Thread.run(Thread.java:829) [?:?]
> Caused by: org.apache.ignite.lang.IgniteException: Error removing row version 
> from version chain on garbage collection: [rowId=RowId [partitionId=7, 
> uuid=443a358c-cae6-4919-9867-62d8e26d7d42], rowTimestamp=HybridTimestamp 
> [time=111379446563602441, physical=1699515481012, logical=9], tableId=5, 
> partitionId=7]
>       at 
> java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) 
> ~[?:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:754)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:688)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:525)
>  ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.TcpClientChannel.readError(TcpClientChannel.java:474)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.TcpClientChannel.processNextMessage(TcpClientChannel.java:423)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.TcpClientChannel.onMessage(TcpClientChannel.java:231)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.io.netty.NettyClientConnection.onMessage(NettyClientConnection.java:111)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> org.apache.ignite.internal.client.io.netty.NettyClientMessageHandler.channelRead(NettyClientMessageHandler.java:33)
>  ~[ignite-client-3.0.0-SNAPSHOT.jar:?]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
>  ~[netty-codec-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
>  ~[netty-codec-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) 
> ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
>  ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) 
> ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) 
> ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
>  ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) 
> ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
>       at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
>       ... 1 more
> {noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to