Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-56936

IndexOutOfBoundsException during merge operation

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • Analytics Sprint 20

    Description

      The following IndexOutOfBoundsException was encountered during a merge operation:

      2023-05-13T00:36:11.064-05:00 ERRO CBAS.impls.LSMHarness [Executor-98725:ad26dac5487bab108898df4f4309d986] MERGE operation failed on {"class" : "LSMBTree", "dir" : "/opt/analytics/@analytics/v_iodevice_6/storage/partition_150/Default/ds/2/ds", "memory" : [{"class":"LSMBTreeMemoryComponent", "state":"READABLE_WRITABLE", "writers":0, "readers":0, "pendingFlushes":0, "id":"[6537,6537]"}, {"class":"LSMBTreeMemoryComponent", "state":"INACTIVE", "writers":0, "readers":0, "pendingFlushes":0, "id":"[6536,6536]"}], "disk" : 8, "num-scheduled-flushes":0, "current-memory-component":0}
      java.lang.IndexOutOfBoundsException: null
      	at java.nio.Buffer.checkIndex(Buffer.java:693) ~[?:?]
      	at java.nio.HeapByteBuffer.putInt(HeapByteBuffer.java:422) ~[?:?]
      	at org.apache.hyracks.storage.am.common.frames.AbstractSlotManager.setSlot(AbstractSlotManager.java:40) ~[hyracks-storage-am-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.btree.frames.OrderedSlotManager.insertSlot(OrderedSlotManager.java:176) ~[hyracks-storage-am-btree-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.btree.frames.BTreeNSMLeafFrame.insert(BTreeNSMLeafFrame.java:147) ~[hyracks-storage-am-btree-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.btree.frames.BTreeNSMLeafFrame.insertSorted(BTreeNSMLeafFrame.java:157) ~[hyracks-storage-am-btree-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.btree.impls.BTree$BTreeBulkLoader.add(BTree.java:1092) ~[hyracks-storage-am-btree-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.LSMIndexBulkLoader.add(LSMIndexBulkLoader.java:55) ~[hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.ChainedLSMDiskComponentBulkLoader.add(ChainedLSMDiskComponentBulkLoader.java:68) ~[hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTree.doMerge(LSMBTree.java:352) ~[hyracks-storage-am-lsm-btree-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMIndex.merge(AbstractLSMIndex.java:873) ~[hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.doIo(LSMHarness.java:548) [hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.merge(LSMHarness.java:587) [hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.merge(LSMTreeIndexAccessor.java:127) [hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.MergeOperation.call(MergeOperation.java:52) [hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at org.apache.hyracks.storage.am.lsm.common.impls.MergeOperation.call(MergeOperation.java:33) [hyracks-storage-am-lsm-common-7.1.3-3482.jar:7.1.3-3482]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
      	at java.lang.Thread.run(Thread.java:829) [?:?]
      

      Detailed logs can be found in CBSE-14135.

      Attachments

        Issue Links

          Activity

            People

              vipul.bhardwaj Vipul Bhardwaj
              murtadha.hubail Murtadha Hubail
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty