Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

set gc_grace_seconds to the compaction_window_size #700

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Conversation

woodsaj
Copy link
Member

@woodsaj woodsaj commented Jul 25, 2017

The default gc_grace_seconds is 10days. If the default ttl is only 1day
old sstables wont be purged from cassandra until they are 11days old.
Setting the gc_grace_seconds to the compaction window size ensures that
the data that is no longer being queried gets cleaned up.

The default gc_grace_seconds is 10days. If the default ttl is only 1day
old sstables wont be purged from cassandra until they are 11days old.
Setting the gc_grace_seconds to the compaction window size ensures that
the data that is no longer being queried gets cleaned up.
@woodsaj woodsaj requested review from Dieterbe and replay and removed request for Dieterbe July 25, 2017 08:20
Copy link
Contributor

@Dieterbe Dieterbe left a comment

Choose a reason for hiding this comment

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

LGTM. http://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTable.html#tabProp mentions a few caveats but they don't seem to be a problem to us.

@woodsaj woodsaj merged commit 73cfa00 into master Jul 25, 2017
@woodsaj woodsaj deleted the gcGraceSeconds branch July 25, 2017 12:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants