Chen Luo created ASTERIXDB-2161:
-----------------------------------
Summary: java.lang.IllegalStateException when set LSM Memory
Component Id
Key: ASTERIXDB-2161
URL: https://issues.apache.org/jira/browse/ASTERIXDB-2161
Project: Apache AsterixDB
Issue Type: Bug
Components: STO - Storage
Reporter: Chen Luo
Assignee: Chen Luo
On one NC with multiple partitions, it may through IllegalStateException when
we reset the memory component Id. The memory component should receive a larger
Id, but for some reason it still receives the old one.
{code}
16:25:40 SEVERE: SEARCH failed to enter components on {"class" : "LSMBTree",
"dir" :
"/home/jenkins/jenkins/workspace/asterix-gerrit-verify-asterix-app/asterixdb/asterix-app/target/io/dir/asterix_nc1/iodevice1/storage/partition_1/test/LineID_idx_idx_LineID_suppkey",
"memory" : 2, "disk" : 1}
16:25:40 java.lang.IllegalStateException: LSM memory component receives illegal
id. Old id [1510360027993,1510360027993], new id [1510360027993,1510360027993]
16:25:40 at
org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMMemoryComponent.resetId(AbstractLSMMemoryComponent.java:276)
16:25:40 at
org.apache.asterix.common.ioopcallbacks.AbstractLSMIOOperationCallback.recycled(AbstractLSMIOOperationCallback.java:205)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)