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

[Magma-CDC] Segmentation fault in magma_Dump

    XMLWordPrintable

Details

    Description

      Steps To Recreate:

      1. Create a 3 node cluster
      2. Create a magma buckets with (bucket_history_retention_seconds=1500,bucket_history_retention_bytes=99000000000,) (vbuckets = 16, replicas = 2)
      3. Create 14 collections(total collection count is 15, including default collection)
      4. After creating collection update the collection history setting to true
      5. Create 5 million docs in each of the collection
      6. Upsert all the docs
      7. Again start upserting all the docs
      8. While doc ops are going on reduce the replicas to 1 and change fragmentation to 30% trigger rebalance @ 6:11:36 AM
      9. Again change the replicas to 2 and trigger rebalannce(6:13:20 AM)
      10. Immediately after above step tried magma_dump command and observed segmentation fault(@ 06:14:30 2023 from dmesg)
        (Tried on node 172.23.107.76) (Would be helpful if we can have minidump facility for magma dump, I tried attaching gdb after this but no luck in reproducing this)

         
        /opt/couchbase/bin/magma_dump /data/default/magma.0 --kvstore 0 --docs-by-seq
        Segmentation fault
        

      demsg:

      [Sun Mar  5 06:14:30 2023] magma_dump[40182]: segfault at 0 ip 0000000000466fa2 sp 00007fff9fba3010 error 4 in magma_dump[400000+3c1000]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            scott.lashley Scott Lashley
            ankush.sharma Ankush Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty