You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IllegalArgumentException Added a page twice: DataPage{pageId=821, immutable=true, writable=false, usedMemory=791012} during data selecting from herdDB
#636
Open
hamadodene opened this issue
Jun 26, 2020
· 0 comments
herddb.model.StatementExecutionException: herddb.storage.DataStorageManagerException: java.lang.IllegalArgumentException: Added a page twice: DataPage{pageId=821, immutable=true, writable=false, usedMemory=791012}
at herddb.core.DBManager.executePlan(DBManager.java:700)
at herddb.server.ServerSideConnectionPeer.handleOpenScanner(ServerSideConnectionPeer.java:457)
at herddb.server.ServerSideConnectionPeer.requestReceived(ServerSideConnectionPeer.java:182)
at herddb.network.netty.NettyChannel.lambda$handlePduRequest$0(NettyChannel.java:97)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: herddb.storage.DataStorageManagerException: java.lang.IllegalArgumentException: Added a page twice: DataPage{pageId=821, immutable=true, writable=false, usedMemory=791012}
at herddb.core.TableManager.loadPageToMemory(TableManager.java:2188)
at herddb.core.TableManager.fetchDataPage(TableManager.java:3537)
at herddb.core.TableManager.fetchRecord(TableManager.java:3468)
at herddb.core.TableManager.accessRecord(TableManager.java:3416)
at herddb.core.TableManager.lambda$streamTableData$24(TableManager.java:3339)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at herddb.core.StreamDataScanner.fetchNext(StreamDataScanner.java:61)
at herddb.core.StreamDataScanner.<init>(StreamDataScanner.java:49)
at herddb.core.TableManager.scanWithStream(TableManager.java:3162)
at herddb.core.TableManager.scan(TableManager.java:2884)
at herddb.core.TableSpaceManager.scan(TableSpaceManager.java:647)
at herddb.core.DBManager.scan(DBManager.java:747)
at herddb.core.DBManager.executePlanAsync(DBManager.java:712)
at herddb.core.DBManager.executePlan(DBManager.java:689)
... 9 more
Caused by: java.lang.IllegalArgumentException: Added a page twice: DataPage{pageId=821, immutable=true, writable=false, usedMemory=791012}
at herddb.core.ClockProPolicy.unsafeAdd(ClockProPolicy.java:368)
at herddb.core.ClockProPolicy.unsafeAdd(ClockProPolicy.java:276)
at herddb.core.ClockProPolicy.add(ClockProPolicy.java:155)
at herddb.core.ClockProPolicy.add(ClockProPolicy.java:52)
at herddb.core.TableManager.loadPageToMemory(TableManager.java:2172)
... 28 more
The text was updated successfully, but these errors were encountered:
eolivelli
changed the title
IllegalArgumentException during data selecting from herdDB
IllegalArgumentException Added a page twice: DataPage{pageId=821, immutable=true, writable=false, usedMemory=791012} during data selecting from herdDB
Jul 2, 2020
The text was updated successfully, but these errors were encountered: