Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASSANDRA-19577 Make queries visible to the "system_views.queries" virtual table at the coordinator level #3268

Closed
wants to merge 1 commit into from

Conversation

maedhroz
Copy link
Contributor

@maedhroz maedhroz commented Apr 19, 2024

patch by Caleb Rackliffe; reviewed by Chris Lohfink for CASSANDRA-19577

Comment on lines 97 to 95
return withResources.isNoOp() ? newTask(callable(runnable))
: newTask(withResources, callable(runnable));
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason to keep this logic and guard the above logic with if (runnable instanceof RunnableDebuggableTask)? As far as I can tell there isn't a good reason... we convert the runnable to callable for the execution logic, and the debug logic deals with the raw type...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It certainly doesn't fail any tests to simplify this...

…he coordinator level

patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-19577
@maedhroz
Copy link
Contributor Author

maedhroz commented May 1, 2024

Committed as 428fa1f

@maedhroz maedhroz closed this May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants