Closed tchaikov closed 7 months ago
v2:
@scylladb/qa-maintainers hello maintainers, could you help queue this change?
@tchaikov, here this is a run for you:
if all of them are passing with this change, I'll merge.
@tchaikov, here this is a run for you:
- [ ] https://jenkins.scylladb.com/job/scylla-staging/job/dtest-pytest-gating/180/ (OSS)
- [ ] https://jenkins.scylladb.com/job/scylla-staging/job/dtest-pytest-gating/181/ (OSS + raft)
- [ ] https://jenkins.scylladb.com/job/scylla-staging/job/dtest-pytest-gating/182/ (Enterprise)
- [ ] https://jenkins.scylladb.com/job/scylla-staging/job/dtest-pytest-gating/183/ (Enterprise + raft)
the reason why enterprise tests are failing is that
are not included by enterprise yet.
if all of them are passing with this change, I'll merge.
before this change, wait_for_compactions() waits until all pending compactions are finished. but sometimes, we just want to
column_family/autocompaction does not stop all compaction jobs a scylla instance, it just stops the specified table. so there are chances that we are still observing compaction tasks even if all the compactions of the specified table are stopped.
so, in this change, to cater the needs of the use case above, we add optional parameters to Node and ScyllaNode, so that we can specify the table we are interested in, instead of waiting for all tables.
also, instead of assigning
n
topending_task
before comparing them to detect the unexpected increasing number of pending tasks, we compare them before the assignment. otherwise, the branch is unreachable even if thepending_tasks
is increasing.Refs https://github.com/scylladb/scylladb/issues/16170