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
test_tools.TestScyllaSsstableSchemaLoading.test_table_dir_data_dir is flaky #13553
Comments
|
…_table_dir_data_dir as xfail This test fails from time-to-time. Until the investigation is ongoing, mark it as xfail so it doesn't affext our workflows. Refs: scylladb#13553
The test that fails just happens to be the first test running that accesses the data directory. There might be a compaction still running at that time, causing the disappearing sstables. |
Note that later tests accessing the data dir have no problem. |
…mpactions The tests in this class rely on no compaction overlapping with their progress. Despite disabling auto-compaction for the scope of this test class, we still observed the very first test in the suite failing sometimes in debug mode. This is most likely a compaction started before disabling auto-compaction, which (due to the slow debug build) finishes such that it deletes the compacted sstables, right as one of the tests runs. To prevent this, use the recently introduced tasks api to check and wait for any ongoing compaction before proceeding with the tests. Fixes: scylladb#13553
After further investigation with the help of @bhalevy, the problem turns out to be that |
…ct API This `with` context is supposed to disable, then re-enable autocompaction for the given keyspaces, but it used the wrong API for it, it used the column_family/autocompaction API, which operates on column families, not keyspaces. This oversight led to a silent failure because the code didn't check the result of the request. Both are fixed in this patch: * switch to use `storage_service/auto_compaction/{keyspace}` endpoint * check the result of the API calls and report errors as exceptions Fixes: scylladb#13553
…ct API This `with` context is supposed to disable, then re-enable autocompaction for the given keyspaces, but it used the wrong API for it, it used the column_family/autocompaction API, which operates on column families, not keyspaces. This oversight led to a silent failure because the code didn't check the result of the request. Both are fixed in this patch: * switch to use `storage_service/auto_compaction/{keyspace}` enpoint * check the result of the API calls and report errors as exceptions Fixes: scylladb#13553
No vulnerable branches, not backporting. |
…ct API This `with` context is supposed to disable, then re-enable autocompaction for the given keyspaces, but it used the wrong API for it, it used the column_family/autocompaction API, which operates on column families, not keyspaces. This oversight led to a silent failure because the code didn't check the result of the request. Both are fixed in this patch: * switch to use `storage_service/auto_compaction/{keyspace}` endpoint * check the result of the API calls and report errors as exceptions Fixes: #13553 Closes #13568 (cherry picked from commit 66ee736)
Seen in:
The text was updated successfully, but these errors were encountered: