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

Avoid prepared statement invalidation race when committing schema changes

    XMLWordPrintableJSON

Details

    Description

      We currently invalidate the prepared statement cache before making the schema change “live", creating a small window where we might re-prepare a statement with the old schema. This causes us to use the wrong epoch when coordinating a request, making replicas think the coordinator is behind and failing the request until the node is bounced (or prepared statement cache invalidated)

      Attachments

        1. ci_summary.html
          17 kB
          Marcus Eriksson

        Issue Links

          Activity

            People

              marcuse Marcus Eriksson
              marcuse Marcus Eriksson
              Marcus Eriksson
              Sam Tunnicliffe
              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 - 10m
                  10m