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

SimpleQueryResult should contain client warnings

    XMLWordPrintableJSON

Details

    Description

      There isn't a way to get query warnings generated via ClientWarn using the existing ICoordinator interface. The simplest possible change here would be to...

      1.) Make sure we activate warning collection before queries start.

      2.) Rip warnings out of ClientWarn when queries return.

      3.) Include those warnings when we create SimpleQueryResult.

      QueryResult might not need to expose the warnings, given not all its implementations would be expected to have them, but we could just return an empty list of warnings by default.

      Attachments

        Issue Links

          Activity

            People

              maedhroz Caleb Rackliffe
              maedhroz Caleb Rackliffe
              Caleb Rackliffe
              Alex Petrov, David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: