Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1423

Support query canceling

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • Core/Engine
    • None

    Description

      When an ongoing query is aborted by closing the corresponding dataset, statement, or connection, the query remains to progress in the background. So if several resource-consuming queries time out, their resources are still held for a long time, resulting in a low resource status of the system.

      So a query should be able to be canceled. This does not only serve the timeout purpose, a user may also cancel a query if he/she finds out that the query is wrong or not meaningful anymore. Canceling a query needs to accomplish the following: first, the background threads of the query must all be interrupted; second, all claimed resources should be released; finally, the query context and dataset should be properly removed.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            jt2594838 Tian Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment