Stefan Miklosovic created CASSANDRA-21179:
---------------------------------------------
Summary: Introduce a check for minimum time passed before
importing / training of a compression dictionary is allowed
Key: CASSANDRA-21179
URL: https://issues.apache.org/jira/browse/CASSANDRA-21179
Project: Apache Cassandra
Issue Type: Improvement
Components: Feature/Compression
Reporter: Stefan Miklosovic
After CASSANDRA-21178 where we introduced created_at column to dict table, we
can move forward with the check which ensures that a user is not over-training,
or they can not train / import at all.
1) by default, there would be a minimum time between training / importing is
enabled
2) Default would be, for example, 1 hour, and it would be configurable
3) The configuration would be done CQL level in compression parameters, that
way all nodes would see same values due to TCM schema propagation, so this can
not be attacked by "round-robin" training, node by node
4) If we want to disable training / importing completely, we would set minimum
training frequency to "0" (0h, 0s ...). This means that if we want to allow
training again, an operator would need to raise this value, then the last
training would still need to occur at least so and so time back to be able to
train again.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]