-
Notifications
You must be signed in to change notification settings - Fork 218
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
setting blacklistTwcsTables: false
does not include twcs tables in subsequent runs
#1488
Comments
Hi @zeitounator, This is where it checks for the setting to decide whether or not to filter the TWCS tables when creating a repair run. Sadly I cannot reproduce the case you describe. I've created a cluster locally and created a keyspace with two tables, one with stcs and the other with twcs. Then setting it to true and restarting Reaper will correctly apply the filter: I'd need to know which versions of Cassandra and Reaper you're using, along with some screenshots and tables schemas to assess the situation and see if I can reproduce this issue. |
Hi @adejanovski. Thanks for getting back so quickly. I'm currently off work with very limited connectivity. But I'll be back next week and will have a look at all references and provide all required information. See you. |
Hi @adejanovski, here is the information requested. Cassandra version: 3.11.14 Reaper version: 3.3.4 The schema is as follows. Column/table names redacted where necessary and default values removed for legibility. But this is accurately reproducing my environment.
I've originally started reaper on each of the 12 nodes with the setting to true and made the modification after finding out only 2 tables were repaired in the above keyspace. Since then I restarted reaper everywhere as already reported above but I still have only two tables repaired on each run as you can see on the following history screenshot with names in the hover bublle: This is the schedule in place for that keyspace: Thanks for your support. |
Project board link
For different reasons (even though it is not recommended in reaper's documentation) I want to repair some Twcs tables on my cluster. I have read the documentation and changed the following setting in
/etc/cassandra-reaper/cassandra-reaper.yaml
After that, I restarted the cassandra-reaper service on every node in the cluster. I don't think this has any importance (see below) but reaper is installed in sidecar mode. I restarted several times and checked the config files and the path used on the java command line in my process list.
But I still can't get reaper to include the twcs tables for my application keyspace. I have tried to force run an existing schedule, create a new schedule, run a repair manually from the repair section in gui... they never get included.
I'm far from a java expert and I might ignore some functionalities of the libs/frameworks used on the project to load configuration... but my impression is that this setting is never used anywhere in the code:
setBlacklistTwcsTables
function declared inside theReaperApplicationConfiguration
class.true
(the default in all example config files)ReaperApplicationConfigurationBuilder
class where I can see other config setters being calledUnless I missed something, it looks like this needs to be fixed but I'm not fluent enough in java to propose a clean PR.
In case I'm wrong, how can I make reaper obey my desired configuration?
Thanks.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: REAP-11
The text was updated successfully, but these errors were encountered: