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

DROP COMPACT STORAGE does not invalidate prepared statements as it should

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.25, 3.11.11
    • Cluster/Schema
    • None
    • Correctness - Transient Incorrect Response
    • Normal
    • Normal
    • Unit Test
    • All
    • None
    • Hide

      One of the result expected by a test was wrong. The test was modified to expect the correct behavior.

      Show
      One of the result expected by a test was wrong. The test was modified to expect the correct behavior.

    Description

      DROP COMPACT STORAGE might change the number of columns of a table but as the prepared statement cache is not invalidate the query will not return the correct set of columns until the statement as been invalidate. That can lead to a surprising behavior where the resultset change at un expected point in time.

      This problem only affect 3.0 and 3.11

      Attachments

        Issue Links

          Activity

            People

              blerer Benjamin Lerer
              blerer Benjamin Lerer
              Benjamin Lerer
              Benjamin Lerer, Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m