Details
-
Improvement
-
Status: Patch Available
-
Normal
-
Resolution: Unresolved
-
None
-
Operability
-
Normal
-
All
-
None
-
Description
In CASSANDRA-19289, we added core_pool_size, max_pool_size and max_tasks_queued to the output of system_views.thread_pools. From operational perspective, if an operator looks into this table, it would be very handy if she is able to change these pool parameters directly on that table instead of setting that up via JMX and respective attributes / setters, to avoid context switching / not leaving shell. It would look like:
update system_views.thread_pools SET core_pool_size = 4, max_pool_size = 4 WHERE name = 'SecondaryIndexExecutor';
From the implementation point of view, this is possible to do as we have AbstractMutableVirtualTable however we would probably need to introduce some simple register for created thread pools as vtable is currently based on metrics through which executors themselves are not accessible to call setCorePoolSize or similar.
Attachments
Issue Links
- relates to
-
CASSANDRA-15254 Allow UPDATE on settings virtual table to change running configurations
- Patch Available
- links to