datastax / diagnostic-collection

Diagnostic Collector for Apache Cassandra
Apache License 2.0
28 stars 35 forks source link

Add parallel node collection functionality, via the `parallel_mode=all` config option #159

Closed michaelsembwever closed 1 year ago

michaelsembwever commented 1 year ago

This PR contains two commits.

The first commit implements the parallel_mode option, adding just the all implementation for now. all runs the collection on all nodes in parallel. The logs from node collections is buffered, only printed once the collection is complete (every line prefixed with the node's name). The default parallel_mode is none, which is today's behaviour that each node collection runs sequentially.

The second commit adds the integration tests for parallel_mode=all to all the existing test targets. It does this by parameterising the test target in each test makefile on each of the relevant configuration files. This means that any new configuration file added will automatically be tested.