Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8830

CQLSSTableWriter addRow doesn't throw ex on error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Invalid
    • None
    • None
    • None
    • Low

    Description

      When I add to much row for a same partition key on a CQLSSTableWriter the writer doesn't throw an exception but fail silently. I think it's linked to buffer size because when I use a bigger withBufferSizeInMB() the bug doesn't trigger. shouldn't It throw an exception ?

      Moreover it fails randomly between two states :
      1/ the sstable directory is fully deleted and Thread.exit()
      or
      2/ the sstable is corrupted and when you upload data to cluster you have inconsistant data

      Attachments

        1. OOM.java
          4 kB
          Pierre N.

        Activity

          People

            Unassigned Unassigned
            pierz Pierre N.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: