Skip to content

CASSANDRA-19433 Nodetool cleanup can drop data Accord might need#270

Open
alanwang67 wants to merge 3 commits into
apache:trunkfrom
alanwang67:CASSANDRA-19433
Open

CASSANDRA-19433 Nodetool cleanup can drop data Accord might need#270
alanwang67 wants to merge 3 commits into
apache:trunkfrom
alanwang67:CASSANDRA-19433

Conversation

@alanwang67

Copy link
Copy Markdown
Contributor

Adds a new method to get ranges owned by CommandStores to be used by nodetool cleanup to determine when it is safe to cleanup a range.

}

private static ImmutableSortedMap<Timestamp, Ranges> purgeHistory(NavigableMap<Timestamp, Ranges> in, Ranges remove)
protected static ImmutableSortedMap<Timestamp, Ranges> purgeHistory(NavigableMap<Timestamp, Ranges> in, Ranges remove)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be package private.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think setting it to package private means that we can't access it from CommandStores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants