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
repair_tracker run failed: data_dictionary::no_such_column_family #13045
Comments
There are also a few places in streaming that need to ignore dropped tables, but it's likely out of scope for this issue: scylladb/streaming/stream_session.cc Line 68 in b6e4275
scylladb/streaming/stream_session.cc Line 169 in b6e4275
scylladb/streaming/stream_session.cc Line 323 in b6e4275
scylladb/streaming/stream_session.cc Line 337 in b6e4275
|
While repair requested by user is performed, some tables may be dropped. When the repair proceeds to these tables, it should skip them and continue with others. When no_such_column_family is thrown during user requested repair, it is logged and swallowed. Then the repair continues with the remaining tables. Fixes: #13045 Closes #13068 * github.com:scylladb/scylladb: repair: fix indentation repair: continue user requested repair if no_such_column_family is thrown repair: add find_column_family_if_exists function
While repair requested by user is performed, some tables may be dropped. When the repair proceeds to these tables, it should skip them and continue with others. When no_such_column_family is thrown during user requested repair, it is logged and swallowed. Then the repair continues with the remaining tables. Fixes: #13045 Closes #13068 * github.com:scylladb/scylladb: repair: fix indentation repair: continue user requested repair if no_such_column_family is thrown repair: add find_column_family_if_exists function
I think that the issue exists in this form or close to it since row-level repair inception so backport is technically desired to all living branches. It was hit also in the field, outside of QA, by an untypical application that creates and deletes tables rapidly, also during repair, so I think it'd be a good idea to backport it to all 5.x branches. |
While repair requested by user is performed, some tables may be dropped. When the repair proceeds to these tables, it should skip them and continue with others. When no_such_column_family is thrown during user requested repair, it is logged and swallowed. Then the repair continues with the remaining tables. Fixes: #13045 Closes #13068 * github.com:scylladb/scylladb: repair: fix indentation repair: continue user requested repair if no_such_column_family is thrown repair: add find_column_family_if_exists function (cherry picked from commit 9859bae)
While repair requested by user is performed, some tables may be dropped. When the repair proceeds to these tables, it should skip them and continue with others. When no_such_column_family is thrown during user requested repair, it is logged and swallowed. Then the repair continues with the remaining tables. Fixes: #13045 Closes #13068 * github.com:scylladb/scylladb: repair: fix indentation repair: continue user requested repair if no_such_column_family is thrown repair: add find_column_family_if_exists function (cherry picked from commit 9859bae)
Backported to 5.1, 5.2 |
@bhalevy - did you open an issue for the below items?
|
Now there is. |
Seen in https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-debug/153/testReport/repair_additional_test/TestRepairAdditional/Run_Dtest_Parallel_Cloud_Machines___FullDtest___full_split037___test_repair_while_table_is_dropped/
With scylla version b6e4275
https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-debug/153/artifact/logs-full.debug.037/1677653415823_repair_additional_test.py%3A%3ATestRepairAdditional%3A%3Atest_repair_while_table_is_dropped/node2.log
BTW, this should be logged as an error, not a warning since it is returned to the api.
From first glance, I see
scylladb/repair/repair.cc
Line 1097 in b6e4275
that may hit this error, where we should ignore replica::no_such_column_family error
but there could still be other sites.
There's also
scylladb/repair/repair.cc
Line 509 in b6e4275
called from
scylladb/repair/repair.cc
Line 548 in b6e4275
Note that this particular error the test failed on is
data_dictionary::no_such_column_family
, notreplica::no_such_column_family
.Cc @asias @Deexie
The text was updated successfully, but these errors were encountered: