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

Optionally fail when a non-partition-restricted query is issued against a storage-attached index

    XMLWordPrintableJSON

Details

    Description

      With LCS, we will have potentially thousands of SSTables for a given user table. Storage-attached also means SSTable-attached, and searching thousands of attached indexes is not going to scale well at all locally, due to the sheer number of searches and amount of postings list merging involved. We should have a guardrail to prohibit this by default.

      Partition-restricted queries, the use-case SAI is broadly designed for, should be very efficient.

      UPDATE: The consensus from the discussion below is that we'll add two guardrails here. One is simply for whether we'll allow non-partition-restricted 2i queries. The other is a warn/fail threshold pair for the number of SSTable indexes read locally on a query.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              maedhroz Caleb Rackliffe
              Stefan Miklosovic
              Caleb Rackliffe
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 - 14h 40m
                  14h 40m