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

Per-request timeouts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Legacy/Coordination
    • None

    Description

      Cassandra currently allows separate timeout configuration for writes, single-partition reads, and range queries. However, this suffers from several deficiencies:

      • configuration file changes must be replicated across all nodes, and the nodes must be restarted for them to take effect
      • single-partition vs. large partition doesn't correlate with short vs. long queries, if you consider large partitions
      • the same cluster may need to serve time-critical queries and non-critical queries simultaneously; there is no way to configure that.

      We should have a way to configure the timeout at the request level, in the same way we can configure the consistency level. An alternative is to add a WITH TIMEOUT clause to CQL, similar to USING TTL or TIMESTAMP.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              avi.kivity Avi Kivity
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: