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

v4+ protocol did not clean up client warnings, which caused leaking the state

    XMLWordPrintableJSON

Details

    Description

      If you perform a query in v5, this will cause the STARTUP message to be handled in the netty thread, but the way this is done is by calling an internal API to dispatcher which requires the caller to clean up; but we do not clean up; at this point the netty thread will have a ClientWarn state populated. If you now perform the same query again, but with the v3 protocol, this will pick up the state and try to serialize it, causing a client error (in java as java rejects the output from the server) saying that v3 may not have client warnings.

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Caleb Rackliffe, Jon Meredith, Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: