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

Index summaries fail when their size gets > 2G and use more space than necessary

    XMLWordPrintableJSON

Details

    • Normal

    Description

      After building a summary, IndexSummaryBuilder tries to trim the memory writers by calling SafeMemoryWriter.setCapacity(capacity()). Instead of trimming, this ends up allocating at least as much extra space and failing the Buffer.position() call when the size is greater than Integer.MAX_VALUE.

      Attachments

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              blambov Branimir Lambov
              Branimir Lambov
              Benedict Elliott Smith
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: