Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1429

Cancel queued threads when limit reached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0, 3.3.0, 4.2.1, 3.2.1
    • None
    • None

    Description

      We currently spawn a thread per guidepost to process a query. For a full scan with a LIMIT of 1, this is particularly inefficient, as once we get our one row back, we no longer need to execute the other queued threads. We should cancel those threads once the limit is reached.

      Attachments

        1. PHOENIX-1429.patch
          19 kB
          James R. Taylor

        Activity

          People

            Unassigned Unassigned
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: