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

Queries are not visible to the "system_views.queries" virtual table at the coordinator level

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      There appears to be a hole in the implementation of CASSANDRA-15241 where DebuggableTasks at the coordinator are not preserved through the creation of FutureTasks in TaskFactory. This means that QueriesTable can't see them when is asks SharedExecutorPool for running tasks. It should be possible to fix this in TaskFactory by making sure to propagate any RunnableDebuggableTask we encounter. We already do this in toExecute(), but it also needs to happen in the relevant toSubmit() method(s).

      Attachments

        1. ci_summary-2.html
          42 kB
          Caleb Rackliffe
        2. ci_summary-1.html
          27 kB
          Caleb Rackliffe
        3. ci_summary.html
          50 kB
          Caleb Rackliffe

        Activity

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

          People

            maedhroz Caleb Rackliffe Assign to me
            maedhroz Caleb Rackliffe
            Caleb Rackliffe
            Chris Lohfink, David Capwell
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 1h 40m
                1h 40m

                Slack

                  Issue deployment